This is a simple crud operation application that can create a user with full name, Get a user from Db by name, Update a user by Id and delete a user by Id.
- Node
- Express
- MongoDb
github to clone crud-hng
npm install
starts and run the application
npm run server
interact with these APIs using HTTP requests (GET, POST, PUT, DELETE)
via tools like Postman, or from your frontend application
No Authentication required
Below are list of endpoints along with their HTTP methods and purposes. Examples in documentation
Create:
- Endpoint: /api
- Method: POST
- Description: Creates a single user with just full_name and return the created user
Read:
- Endpoint: /api
- Method: GET
- Description: retrieve user data based on their user ID. It is designed to perform
Delete:
- Endpoint: /api:Id
- Method: DELETE
- Description: Creates a single user with just full_name and return the created user
Update:
- Endpoint: /api:userId
- Method: PUT
- Description: Creates a single user with just full_name and return the created user
Hosted on render
Link to hosted URL Render-URL
Used Postman for documentation and testing end points
Click link for hngx-crud postman-documentation
Link for UML diagram UML