Ötzi
This is a web-based typing game.
Backend
The backend is a fastify
webserver exposing some APIs.
To spin it up for development,
cd backend
npm install
npm exec knex migrate:latest
npm exec knex seed:run
PORT=8080 npm run serve
The webserver will be abailable at http://localhost:8080
.
Frontend
The frontend is a phaser
webapp built parcel
.
To spin it up for development,
cd frontend
npm install
npm run serve
Also, remember to
Change line 63/64 of main.js file in src/js folder by switching the comment.
This operation permits the ui to call the backend at `http://localhost:8080/oetzi_words/` instead of to the relative path.
The webapp will be abailable at http://localhost:1234
.