This is a multiplayer game in which users have to type related words back and forth under timed pressure. For example, a round could go: apple -> computer -> mouse -> cheese -> holes -> pear (not related to "holes", so the round ends)
If no one's online you can test it by opening one normal and one incognito tab.
preview.mp4
- Enter backend folder -
cd backend
- Install npm packages -
npm i
- Set env variables
NODE_ENV=dev REDIS_URL=redis://localhost:6379/0 FRONTEND_URL=http://localhost:5173 OPENAI_API_KEY=<your-api-key>
- Spin up redis -
docker-compose up -d
- Run server (no type checking) -
npm run dev
- Type check in separate terminal -
npm run type-check
- Enter frontend folder -
cd frontend
- Install npm packages -
npm i
- Set env variables
VITE_BACKEND_URL=http://localhost:3000
- Run server (no type checking) -
npm run dev
- Type check in separate terminal -
npm run type-check
- push to main branch