ordatictest

1.0.1 • Public • Published

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. Screenshot 2019-07-03 at 22 01 07

Check if changes stored in database

In Postman you can change the post to get and you will get everything from the database.

Screenshot 2019-07-03 at 23 18 18

Readme

Keywords

none

Package Sidebar

Install

npm i ordatictest

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.83 kB

Total Files

4

Last publish

Collaborators

  • mohammedchaibi