Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.27 KB

README.md

File metadata and controls

64 lines (43 loc) · 1.27 KB

Pixelcide

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.

Setup Instructions

  1. Clone repository onto your local machine. Run the following command in both the frontend and backend directories to install all dependancies.
npm i
  1. Create a .env file in the root of the backend following the example of the .env.local.example as a template.

  2. Reset local database:

npm run db:reset
  1. Run the express server in the backend directory:
npm run start
  1. Run the webpack server in the frontend directory:
npm run start

Dependencies

Backend

  • express
  • express-session
  • jsonwebtoken
  • pg
  • socket.io

Frontend

  • axios
  • framer-motion
  • jwt-decode
  • lodash
  • nes.css
  • react
  • react router
  • react confetti
  • sass
  • socket.io-client

Authored By

John Carlo Flores

Mo Tariq

Gagandeep Singh