Skip to content

Open source GraphQL API for the TCG Shadowverse evolve deck builder

Notifications You must be signed in to change notification settings

hugoburguete/shadowverse-tools-api

Repository files navigation

Description

API for the shadowverse tools app using the NestJS framework.

Setup

  • Setup docker
  • Create a .env file from the .env.example template

Development

# Start docker compose
$ docker-compose -f docker-compose-dev.yml up

# Querying the database
$ docker exec -it shadowverse-tools-db bash -l
$ > psql -U {{ USERNAME }} -h localhost -d {{ DATABASE_NAME }}

# Running NestJS CLI commands
$ docker exec -it shadowverse-tools-api nest g [command] [name]

# Migrate
$ docker exec -it shadowverse-tools-api npx sequelize-cli db:migrate

# Create migration/seeder
$ docker exec -it shadowverse-tools-api npx sequelize-cli migration:create --name name-of-migration
$ docker exec -it shadowverse-tools-api npx sequelize-cli seed:create --name name-of-seeder

About

Open source GraphQL API for the TCG Shadowverse evolve deck builder

Resources

Stars

Watchers

Forks

Packages

No packages published