https://github.com/garbit/node-express-sequelizejs-passportjs-api-base
An API base project using node, express, sequelize, passportjs, and docker that allows you to kick start a project.
https://github.com/garbit/node-express-sequelizejs-passportjs-api-base
docker eslint express nodejs passport sequelizejs
Last synced: about 2 months ago
JSON representation
An API base project using node, express, sequelize, passportjs, and docker that allows you to kick start a project.
- Host: GitHub
- URL: https://github.com/garbit/node-express-sequelizejs-passportjs-api-base
- Owner: garbit
- Created: 2018-02-07T11:47:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-02T08:16:17.000Z (about 7 years ago)
- Last Synced: 2025-01-28T01:22:34.582Z (about 1 year ago)
- Topics: docker, eslint, express, nodejs, passport, sequelizejs
- Language: JavaScript
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Configure
Add your database and session key in the configuration files:
```
config/db.js
.env
```
# Db Setup
To set up the database for this project use the [SequelizeJs CLI](https://github.com/sequelize/cli) and ensure you have entered your db credentials in the config/db.js (see db.example.js)
```
sequelize db:create
```
# Running
To run, use the docker-compose command to spin up the container and run the proejct
```
docker-compose up -d
```