Skip to content

mina-arena/mina-arena-server

Repository files navigation

mina-arena-server

Node server for Mina Arena.

Development

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.

Migrations

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/

GraphiQL

This server hosts its GraphQL API at /graphql.

You can interact with GraphiQL to test queries at that endpoint.

About

Node server for Skirmish game proof of concept

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published