A simple note app using tinyhttp and MongoDB.
tinyhttp new mongodbGo to MongoDB Atlas, create a new database and grab the URI string, then put DB_URI=<URI> in the .env file.
node index.js-
GET /notes- list notes with 2 properties which are title and desc. -
POST /notes- create a post using the data fromtitleanddescquery -
DELETE /notes- delete a note with specified ID -
PUT /notes- update a note by ID