Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiulous/nodejs-api-boilerplate
A simple Node.js API in ES6 with express and sequelize
https://github.com/fabiulous/nodejs-api-boilerplate
Last synced: 16 days ago
JSON representation
A simple Node.js API in ES6 with express and sequelize
- Host: GitHub
- URL: https://github.com/fabiulous/nodejs-api-boilerplate
- Owner: fabiulous
- Created: 2017-01-24T19:54:11.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-14T13:18:59.000Z (almost 8 years ago)
- Last Synced: 2023-10-10T10:31:20.398Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodejs-api-boilerplate
This is a Job platform example API in Node.js.
Written in ES6, using [Express.js](http://expressjs.com/) and [Sequelize.js](http://docs.sequelizejs.com/).
## Development
Run the server with `npm run dev`
This will copy contents in src, create dist folder and serve the application.
## Build
Run `npm run build`
## Environment Variables
This boilerplate uses a [dotenv](https://github.com/motdotla/dotenv) which will load a `.env` file that you should create inside src. The file should look like this:
```
PORT=8000
NODE_ENV=development
DATABASE_URL=postgres://postgres:postgres@localhost:5432/database
```