/red-keep

🏰GraphQL interface for episodehunters database

Primary LanguageTypeScript

Red keep Build Status codecov

GraphQL interface for episodehunters database

Requirements

Getting started

(you only need to follow these steps once)

Install dependencies

npm install

Start a local mysql server

docker run --name episodehunter-db \
  -e MYSQL_ROOT_PASSWORD=rootpass \
  -e MYSQL_DATABASE=episodehunter \
  -e MYSQL_USER=user \
  -e MYSQL_PASSWORD=123 \
  -p 3306:3306 \
  -d mysql:latest

Reset and seed the database

node seed-db/seed-db.js

Run the application

npm run compile
npm run start:dev

Visit http://localhost:4000/graphiql

Run the tests

npm test

License

MIT