This is a GraphQL Ruby on Rails backend for a Pokemon TCG deck builder. The coresponding frontend can be found here.
- Ruby and rails
- PostgreSQL (running locally on default port)
- Clone the repository
- Run
bundle install
- Run
rails db:create db:migrate db:seed
to create the database and run pending migrations - Run
bin/rails server
to start the server on port3001
- GraphiQL should be running on
http://localhost:3001/graphiql
to test out queries and view schema
bin/rails test
can be used to run tests.