https://github.com/talha08/express-api
API build with express, mongodb
https://github.com/talha08/express-api
es6 expressjs mongodb mongoose
Last synced: 3 months ago
JSON representation
API build with express, mongodb
- Host: GitHub
- URL: https://github.com/talha08/express-api
- Owner: talha08
- License: mit
- Created: 2018-12-11T19:55:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T20:40:32.000Z (over 6 years ago)
- Last Synced: 2024-12-30T19:48:42.519Z (5 months ago)
- Topics: es6, expressjs, mongodb, mongoose
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
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 `yarn`
## Starting the server
```
yarn run start
```The server will run on port 3000. You can change this by editing `config.dev.js` file.
## Run server in production with Docker
```
yarn run build
```After npm building the project, go to project root directory, open shell and run:
```
docker build -t express-es6-starter .
```## Debugging with Webstorm
Set babel-node executable as the node interpreter.
Pass node parameters of --preset=babel-preset-es2015