A collection of drinking games from the Abakus student association.
First, install the dependencies using yarn:
yarnThen, run the development server:
yarn devGo to backend, create .env file and include something like this:
MONGO_URI=mongodb://127.0.0.1:27017/gameroom
PORT=3001
and then run:
cd gameroom-backend
yarn install
yarn startand in the frontend:
change the file in: src/app/game-room/[roomCode]/page.tsx
and in src/app/lobby/page.tsx
change the fetch URL to your local backend, e.g. http://localhost:3001 (the same port as in the .env file)
(Do this by commenting out line 56 in the [roomCode]/page.tsx file and uncommenting out line 56, and for the local lobby/page.tsx file you comment out 29 and uncomment 30)
then in the root folder run:
yarn
yarn devThe site should now be running at http://localhost:3000.
We would love your contributions. To find out how to, read our CONTRIBUTING.md