3li7u / nodejs-mysql-crud-app

Repository from Github https://github.com3li7u/nodejs-mysql-crud-appRepository from Github https://github.com3li7u/nodejs-mysql-crud-app

Node.js MySQL CRUD App

Usage

npm install
npm start

API End Points

  • GET /api/products: Retrieve all products stored in the database
  • GET /api/products/<productId>: Retrieve a specific product with productId.
  • POST /api/products: Add a new product to the database.
  • PUT /api/products/<productId>: Update a specific product partialy or completely with productId.
  • DELETE /api/products/<productId>: Delete a specific product with productId.

About


Languages

Language:JavaScript 100.0%