Skip to content

A boilerplate for creating web application using Nodejs, Express, Bootstrap, HTML5

Notifications You must be signed in to change notification settings

belmer/ExpressBoilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Boilerplate

A Boilerplate for creating web application using:

Nodejs

Express

Bootstrap

HTML5

Folder Structure

[bin]

| www [This is the entry point of our application]

[config] [Configuration folder]

| default.json
| development.json
| production.json

[public] [Files accessible publicly are here]

| css
| fonts
| images
| js
	| vendor
	| main.js [Main javascript file]

[routes] [Express routing]

| index.js [Routes are here]
| zoho.js [zoho utility]

[views] [pages and jade files are here]

| includes [Should you decide to modularize your page, put your components here]
| index.jade [Page Index]

[app.js] [Express instance] [package.json] [Application configuration]

How to Run/ Run Scripts

Make sure you run npm install to install all project dependencies

npm start

Run application on default configuration

npm run dev

Run application on development configuration

npm run prod

Run application on production configuration

Run with PM2

npm run pm2_prod

Add application to pm2 process using production configuration

npm run pm2_dev

Add application to pm2 process using development configuration

Notes

When running in pm2 script make sure to change the name of your application on configuration files. This is to avoid confusion on pm2 process list.

About

A boilerplate for creating web application using Nodejs, Express, Bootstrap, HTML5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published