Create CRUD APIs in NodeJS, Express and MySQL
This is a simple NodeJS, Express and MySQL CRUD API example. that allows you to create, read, update and delete empolyees.
Installation
Clone the repository and install the dependencies.
git clone
cd crud_expressJs
npm install
Usage
npm start
API Endpoints
get all employees
GET /api/v1/employees:
get employee by id
GET /api/v1/employees/<employee_id>
create employee
POST /api/v1/employees
update employee
PATCH /api/v1/employees/<employee_id>
delete employee
DELETE /api/v1/employees/<employee_id>
Author
Don't forget to star the repo if you find it useful