Node server for Mina Arena.
Generate Typescript types for GraphQL schema and compile Typescript into Javascript:
npm run compile
Do the above and also start the server in one command:
npm run start
The server runs on port 3000.
This app uses Sequelize, migrations can be run like so:
npx sequelize-cli db:migrate
Status of migrations can be checked like so:
npx sequelize-cli db:migrate:status
More info on Sequelize migrations at https://sequelize.org/docs/v6/other-topics/migrations/
This server hosts its GraphQL API at /graphql
.
You can interact with GraphiQL to test queries at that endpoint.