This repository was archived by the owner on Aug 24, 2019. It is now read-only.
This repository was archived by the owner on Aug 24, 2019. It is now read-only.
Initialize database #8
Open
Description
We want to be able to connect a database to the project, we will use postgresql.
Setup
-
Create a docker-compose and an entry point
-
- Be sure to create a knexfile
- And to create a service to connect database
-
We will use migrations to initialize project
-
A bonus would be to have a system to dump / load database
Database model
The initial database model will be pretty simple, but we will make it evolve using migrations. Let's start with a user model.
User
id
githubId
accessToken
name
login
email