Skip to content

karlsb/WouldYouRather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Would You Rather - Programmer Edition

Live Demo

https://whatwouldyourather.netlify.app/

Features

  • 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.

Tech Stack

  • Fronend: React, TypeScript, TailwindCSS, Netlify
  • Backend: Go, Sqlite, Docker, DigitalOcean

Installation & Running Locally

Prerequisites

Node.js (LTS recommended) Go Git

Setup

Frontend

git clone https://github.com/karlsb/WouldYouRather.git
cd WouldYouRather/WouldYouRatherFrontend
npm install

Backend

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

Start Frontend

npm run dev

Start Backend

./main

About

Would you rather - written in TypeScript, React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published