Read the code can spoil your experience if you want play.
- Install dependencies
pnpm install
- Start API (development mode)
docker compose up -d
node ace migration:run
pnpm dev
- Install game
xh -v post http://localhost:3333/install Authorization:"Bearer [API_KEY]"
- Add new events
node ace make:event-adventure MyNewAwesomeEvent
- Run tests
docker compose up -d
pnpm test
There are three king of tests
pnpm test unit
pnpm test functional
pnpm test monkey
nixpacks build --name adventure-crawler .