Skip to content

ogzcakar/ExpressJS-MVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpressJs MVC

Description : MVC Structure with Express JS, Sequelize JS For MySQL Database, Logger ( morgan ) Middleware

Installation

- Download Repository

- npm install

- Import the "users.sql" file into the mysql database

- Edit the .env file for database settings

Usage

npm start

Paths

  • 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/

Links

- http://localhost:3000/     => HomeController.js - index const

- http://localhost:3000/test => HomeController.js - test const

- http://localhost:3000/user => UserController.js - index const

For Help and Contact

About

MVC Structure with Express JS, Sequelize JS For MySQL Database, Logger ( morgan ) Middleware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published