Skip to content

Latest commit

 

History

History
22 lines (21 loc) · 495 Bytes

README.md

File metadata and controls

22 lines (21 loc) · 495 Bytes

express-with-mssql

CRUD api in express with mssql

Instruction to run

  1. npm i
  2. npm start

API End points

  1. localhost:8000 (SWAGGER)
  2. localhost:8000/api/customers (GET)
  3. localhost:8000/api/customers/1 (GET)
  4. localhost:8000/api/customers (POST)
  5. localhost:8000/api/customers/1 (DELETE)
  6. localhost:8000/api/customers (POST)
  • Request Body:
{
    "name": "customer 20",
    "email": "customer20@email.com",
    "phone": "01677813190",
    "address": "Dhaka, Bangladesh"
}