mvc-starter
v1.0.2
Published
Starter files for backend development with expressjs using mvc architectural pattern
Downloads
3
Readme
This is a starter file package for backend development with expressjs using mvc architectural pattern something just like the "create-react-app".
Installation
$ npm install mvc-starter -g
For example, the following creates an Express app with mvc architecture in the current working directory:
$ mvc-starter
Say you want the files to be in a new directory(new-app):
Create the new directory
$ mkdir new-app
Change working directory to new-app
$ cd new-app
then run the command:
$ mvc-starter
|____new-app
| |____config
| | |____db.js
| |
| |____controllers
| | |____appController.js
| |
| |____models
| | |___appModel.js
|
|_____server.js
|
|
|_____package.json
Important Settings
- create a .env file, to configure your mongodb.
Let's keep it simple for now, if you find any issue you can state it in the issues tab of the repo.
More updates are coming!