Secret Santa is a game in which group participants pair up and exchange gifts anonymously. This application has developed to help you play this game online!
- Install Node.js, npm and PostgreSQL
- Clone this repository
- In the file
./server/.env
change DB access variables: -
DB_NAME
-
DB_USER
-
DB_PASSWORD
-
DB_HOST
-
DB_PORT
- Optionally change the secret key for encrypting/decrypting JWT tokens
JWT_SECRET_KEY
- In the file
./client/.env
change variableREACT_APP_API_URL
- server url - In the file
./server
run the server application by typing in terminalnode index.js
- In the file
./client
run the client application by typing in terminalnpm start
- Go to your browser and type
http://localhost:3000/
/
- main page/registration
- registration page/login
- login page/lobbies
- page with open lobbies/lobbies/invite/INVITE_CODE
- lobby invitation page, whereINVITE_CODE
- invite code/lobbies/new
- lobby creation page/lobbies/my
- page with a list of lobbies in which the user participates as a player or as a creator/account
- user info edit page