Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomyitav/express-es6-starter
Starter project for creating a MVC express server with MongoDB
https://github.com/tomyitav/express-es6-starter
async-await expressjs mongodb mongoose mvc-pattern
Last synced: 3 days ago
JSON representation
Starter project for creating a MVC express server with MongoDB
- Host: GitHub
- URL: https://github.com/tomyitav/express-es6-starter
- Owner: tomyitav
- License: mit
- Created: 2017-07-28T23:11:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-21T20:34:06.000Z (about 7 years ago)
- Last Synced: 2024-12-06T17:52:23.316Z (16 days ago)
- Topics: async-await, expressjs, mongodb, mongoose, mvc-pattern
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 181
- Watchers: 14
- Forks: 67
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://hub.docker.com/r/tomyitav/express-es6-starter/)
## Debugging with Webstorm
Set babel-node executable as the node interpreter.
Pass node parameters of --preset=babel-preset-es2015