/test-api

This is a REST test API set up to expose endpoints I might need for my frontend projects.

Primary LanguageJavaScriptMIT LicenseMIT

test-api-express

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

Usage

# Install dependencies
npm install
yarn install

# Run in develpment
npm run dev
yarn run dev

# Run in production
npm start
yarn start