Basic Node.js project layout with Express.js & Bootstrap.js.
$ git clone https://github.com/DevelopmentIL/express-project.git project-name
$ cd ./project-name
$ npm install
$ npm start
Go to http://localhost/ to see your project!
.
├── app.js
├── bin
│ └── www
├── config
│ ├── default.js
│ ├── development.js
│ └── production.js
├── logs
├── package.json
├── public
│ ├── files
│ └── static
│ ├── css
│ │ └── style.css
│ ├── images
│ ├── js
│ └── libs
│ └── bootstrap-3.3
│ └── ...
├── routes
│ └── index.js
└── views
│ ├── error.jade
│ ├── html.jade
│ ├── index
│ │ └── index.jade
│ └── layout.jade
└── tmp
All the configuration files is under ./config
.
Each environment has different configuration file.
express-project is freely distributable under the terms of the MIT license.
Copyright (c) 2015 Moshe Simantov