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/.envchange 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/.envchange variableREACT_APP_API_URL- server url - In the file
./serverrun the server application by typing in terminalnode index.js - In the file
./clientrun 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
