Skip to content

johanDev19/nodejs-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This it a node.js MVC framework that i use in all my proyect

Get started

  1. Clone this repo
  2. Open your terminal and go into the proyecto folder
  3. Type into the terminal, npm install
  4. node app to run the framework

to add a new controller

buy defult we have a controller called Home.js, to add a new controller just add a new file into the folder controller. The file new will be the controller name and the route name.

for example
  1. proyect/app/controller/newController.js the route name it will be http://localhost:9090/newController to add a new route like http://localhost:9090/contact just add a new controller file into controller folder like proyect/app/controller/Contact.js

About

This it my personal nodes MVC template that I use in all my project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published