An API server built using Fastify to handle CRUD (Create, Read, Update, Delete) operations on a MongoDB database.
-
GET /: Root route that returns a welcome message
-
POST /create : creates a note
-
GET /read : returns a list of all notes from the database
-
GET /read/:id : returns a note from the database queried by id
-
PUT /update/:id : updates a note in the database queried by id
-
DELETE /delete/:id : deletes a note from the database by id
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.