An empty website using nodejs + express + handlerbars + sass + bower + grunt + mysql.
- Nodejs
- Node Package Manager (NPM)
- Git
Run the commands below in the project root directory.
$ sudo npm install -g gulp bower
$ npm install
$ bower install
To start the web server, run:
$ gulp dev
To access the local server, enter the following URL into your web browser:
http://localhost:3000/
client/ --> all of the client files
app/ --> javascript files
assets/ --> public asset files
css/ --> css files
img/ --> image files
font/ --> font files
less/ --> sass files, build css files
schema/ --> db schema
server/ --> all of the server files
config/ --> server config
controllers/ --> application controllers
helpers/ --> helpers for views
middleware/ --> middleware for express
models/ --> data models
routes/ --> routes
views/ --> view files
app.js --> application
logger.js --> help to log
utils.js --> util library
shared/ --> client and server common files
bower.json --> config file for bower
config.development.js --> config file for development
config.js --> default config file. merge `config.*environment*.js` file
gulpfile.js --> gulp file