Skip to content

its-asif/Blog-APIs-using-mySQL-and-Sequelize

Repository files navigation

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