1.0.1 • Published 5 years ago
ordatictest v1.0.1
OrdaticTestMohammed
Description
This REST ApI generates random orders and saves them in a remote mongodb database.
Install
git clone https://github.com/MohammedChaibi/OrdaticTestMohammed.git
npm install
nodemon
Execute Post request
When the server is executed and listening with Postman you can execute the Post method. Select Post and copy this url "http://localhost:3000/fake/orders". Once you press send you will see the Orders list in a JSON format.
Check if changes stored in database
In Postman you can change the post to get and you will get everything from the database.