Backend for Mafia-Game
$ yarn
# start build
$ yarn start
# watch mode
$ yarn start:dev
# build
$ yarn build
# format using Prettier
$ yarn format
# lint using ESLint
$ yarn lint
- Koa(Node.js)
- GraphQL
- MongoDB
{
user(id: "USER_ID") {
name
}
}
Result:
{
"data": {
"user": {
"name": "test_user"
}
}
}