- This is a simple REST API with CRUD operations using NodeJS Express and Mysql.
- MVC Design Pattern
- REST API
- CRUD operations
- Mysql database
- Expressjs, Mysql, nodemon
- npm install
- npm start
- Create a database named
ejs_crud
- Change database configuration from
config/database.js
file - Run
npm start
command - Open browser and hit
http://localhost:3000/
- GET /v1/user
- POST /v1/user/create
- PUT /v1/user/update/:id
- DELETE /v1/user/delete/:id