This is a Rest Api build for the Start2Impact Nodejs course.
To get the best from this project first create an user, a product and then an order. Keep in mind that all the fields are required to post, check first the design schema. You can use postman to deal with the endpoints.
The Api has been created following the rest architecture
Here're some of the project's best features:
- You can get create update and delete an user
- You can get create update and delete a product
- You can get create update and delete an order
- With the url you can sort and filter all the orders
Clone the project
https://github.com/Giammarco-Ferranti/Nodejs-Restful-Api.git
Change the PORT and the DB_CONNECTION in .env file.
Install dependencies
$npm install
Run the server
$npm run start
Run test
$npm run test
Technologies used in the project:
- Nodejs
- Express
- MongoDb
- Lodash
- Mocha
- Nodemon
- Sinon
- Chai