/RESTful-API

Made for learning CRUD operations with the help of Rest API using Node.js, MongoDB, and Express.

Primary LanguageJavaScriptMIT LicenseMIT

RESTful-API

CRUD operations with the help of RESTful API using Node.js, MongoDB, and Expess.

Usage:

GET all : https://restful-api-assignment.herokuapp.com/products
GET one : https://restful-api-assignment.herokuapp.com/products/ <product id>
DELETE :https://restful-api-assignment.herokuapp.com/ <product id>
CREATE : https://restful-api-assignment.herokuapp.com/products

JSON:
{
    "title": "<String>",
    "description" :"<string>",
    "price" : <number>,
    "company" : "<String>"
}