Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

SAMPLE API (NodeJs, ExpressJS and MongoDB REST API application)

Make sure you have nodejs, expressjs and mongodb installed.

Use npm start or ./bin/www

You can test it using CURL i.e. curl -XPOST http://localhost:3000/customers -d 'name=John&email=[email protected]&preferedBarber=John2' curl -XGET http://localhost:3000/customers curl -XGET http://localhost:3000/customers/:id

Postman (https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en) can also be used for testing (use x-www-form-urlencoded option and set properties name, email and preferedBarber)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages