Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.61 KB

File metadata and controls

71 lines (51 loc) · 1.61 KB

Blog APIs using node.js, mySQL and Sequelize

File Structuring

.
├── ...
├── server.js
├── ...
│
├── config           
│   └── config.js  
│   
├── models           
│   └── index.js              
│   └── User.js              
│   └── ...  
│       
├── src/routes           
│   └── router.js 
│   │  
│   ├── users           
│   │   └── userController.js              
│   │   └── userRoute.js              
│   └── ...         
└── ...

ER Diagram

ERD

Technologies

  • Sequelize
  • Node.js
  • Express
  • MySQL

Get Started

  1. Clone Repo
git clone https://github.com/its-asif/Blog-APIs-using-mySQL-and-Sequelize.git
  1. Install all dependencies
npm install
  1. Start the server
node server.js

API testing with Postman

provided postman collection json file for testing APIs

Postman_collection.json