Description : MVC Structure with Express JS, Sequelize JS For MySQL Database, Logger ( morgan ) Middleware
- Download Repository
- npm install
- Import the "users.sql" file into the mysql database
- Edit the .env file for database settings
npm start
- app.js : App/app.js
- Router : App/Routes/
- Main Router Path : App/Routes/index.js
- Controller : App/Controller/
- Models : App/Models/
- Views : ./views/
- Middleware : App/Middleware/
- Logs : App/Logs/
- Public : ./public/
- http://localhost:3000/ => HomeController.js - index const
- http://localhost:3000/test => HomeController.js - test const
- http://localhost:3000/user => UserController.js - index const
- WebSite : www.ogzcakar.net
- Mail : ogzcakar@gmail.com