Full CRUD REST API Built with Express
This is a REST API built for learning purposes, it is set up to expose endpoints that are useful for my projects.
# Available Routes
GET /api/products --> Returns all products
POST /api/products/add --> Creates a new Products
GET /api/products/:id --> Returns the product with the id passed
PUT /api/products/update --> Updates product details
DELETE /api/products/delete --> Deletes the product with the id passed
# Install dependencies
npm install
yarn install
# Run in develpment
npm run dev
yarn run dev
# Run in production
npm start
yarn start