Skip to content

Starter project for creating a MVC express server with MongoDB

License

Notifications You must be signed in to change notification settings

tomyitav/express-es6-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-es6-starter

Starter project for creating a MVC express server, using

  • express
  • mongoose
  • babel-cli
  • winston and morgan for logging
  • Async/Await

Installation

Clone the repository and run npm install

git clone https://github.com/tomyitav/express-es6-starter.git
npm install

Starting the server

npm start

The server will run on port 3000. You can change this by editing config.dev.js file.

Run server in production with Docker

npm run build

After npm building the project, go to project root directory, open shell and run:

docker build -t express-es6-starter .

Instructions about running the container are available here

Debugging with Webstorm

Set babel-node executable as the node interpreter. Pass node parameters of --preset=babel-preset-es2015

About

Starter project for creating a MVC express server with MongoDB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published