docker
withdocker-compose
First clone the repository and enter it
To start containers use docker-compose up
To stop containers use docker-compose down
Want to hide messy logs? Use docker-compose up -d
To update the backend run
git pull
docker-compose up --build
GraphQL API runs on http://localhost:3000/dev/graphql
Adminer
- a tool to explore the database runs on http://localhost:8080
yarn
- for conflict resolutions
- Install dependencies
npm run build:local
ornpm_config_build_from_source=true yarn
- Edit sample config files
serverless-sample.yml
->serverless.yml
env-sample.yml
->env.yml
- Change
db
tolocalhost
inenv.yml
- Run
npm run dev
. It starts the database andAdminer
using docker-compose and startsserverless offline
withnodemon
for reloading - Run
npm run migration:run
to create empty database tables