App to automatically send SMS notifications for contacts' birthdays.
License: MIT License
JavaScript 100.00%
birthdayblastserver's Introduction
Hi there ๐
My name is Matt and it's nice to digitally meet you! I'm a software engineer working in the healthcare space by day. Outside of my fulltime job, I love to contribute to side projects, tinker with new technologies, bake, grill, garden, read, etc. ๐
๐ง This profile is a WIP so please excuse the clutter as I compose myself. ๐ง
๐ฑ Iโm currently learning Rust, SQLite, improving my PHP, taking nvim for a test drive (out of all of these, nvim is the trickiest to get used to but I recognize its power ๐ตโ๐ซ)
๐ฏ Iโm looking to collaborate on project with friendly devs who want to have fun building cool stuff ๐
๐ค Codewise, Iโm not looking for help with anything particular at the moment, but I know that Rust is gonna kick me in the brain eventually. But if you are an nvim / vim user and want to drop some juicy tips then I'm all ears. ๐
โก Fun fact: When I was a teenager/young adult, I was the lead singer in a touring hardcore punk band ๐ค
Currently, part of the user input validation is working for listPut.js The following code validates the user's put input and will not update the database unless the validation terms are met, but the error is not being pushed back to the user if validation fails. If I add the error code as the else statement it will error every time.
router.put('/',(req,res)=>{listDataStore.forEach((data,i)=>{if(data.email===req.body.email&&validateObjectSize(req.body)&&validateParams(req.body)){listDataStore[i]=req.body// Pushed data to record based on email as PK// listDataStore.splice(i) ->> delete data}returndata// const error = res.status(400).send('Oops, try again!') // is this correct?// console.log(error)// return error})console.log(listDataStore)res.json(listDataStore)})
RegEx validation for body.phone not working for listPost.js file. Last return statement returns false if set to false and true if set to true. Does not return error if RegEx requirements are not met as expected.