Website that allows users to play a mind reader game.
The game is simple, one user have a word given and the other person have to guess the word using other words.
pnpm install
.env.example
to .env
and fill the variablesdocker-compose up -d
pnpm dev
pnpm jobs:run
http://localhost:3333
To bypass social login, you can set the BYPASS_LOGIN
env variable to 1
in your .env
file. This will allow you to login with a default user.
await this.userRepository.findOrCreate('random@user.com', {
username: 'RandomUser',
avatarUrl: null,
providerId: 1,
});
To run the migrations, you can use the following command:
node ace migration:run
To run the seeds, you can use the following command:
node ace db:seed
If you need to rollback the migrations, you can use the following command:
node ace migration:rollback --batch 0
To run the tests, you can use the following command:
pnpm test
To check the lint and format, you can use the following command:
biome check
To fix the lint and format, you can use the following command:
biome check --write