https://whatwouldyourather.netlify.app/
- Would you rather game logic.
- Get a Random situation pair from server
- See the percentage of people who picked the different situation
- Replay the game
- Select the color theme of your choise.
- Fronend: React, TypeScript, TailwindCSS, Netlify
- Backend: Go, Sqlite, Docker, DigitalOcean
Node.js (LTS recommended) Go Git
git clone https://github.com/karlsb/WouldYouRather.git
cd WouldYouRather/WouldYouRatherFrontend
npm install
Navigate to server directory
cd WouldYouRather/WouldYouRatherBackend
Create a .env (it can be empty) file inside the WouldYouRather/WouldYouRatherBackend directory.
You can specify the PORT you want to run the server on in the .env file in the following way:
PORT=8081
Build the server:
go build -o main
npm run dev
./main