Pixcelcide is a cooperative multiplayer game based on the card game Regicide. The app was built using React, React Router and Framer motion on the frontend. The backend was built on express with JSON Web Tokens used for authentication. The database was created on PostgreSQL and socket io was used to handle real time communication between players.
- Clone repository onto your local machine. Run the following command in both the frontend and backend directories to install all dependancies.
npm i
-
Create a .env file in the root of the backend following the example of the .env.local.example as a template.
-
Reset local database:
npm run db:reset
- Run the express server in the backend directory:
npm run start
- Run the webpack server in the frontend directory:
npm run start
- express
- express-session
- jsonwebtoken
- pg
- socket.io
- axios
- framer-motion
- jwt-decode
- lodash
- nes.css
- react
- react router
- react confetti
- sass
- socket.io-client