Skip to content

Oppo Games is a social mini-games site, built with the MERN stack, Tailwind and Socket.io. Group project by Tej Chana, Perran Thomas, Ray Brown, Onuora Wright, and Claire Peng

License

Notifications You must be signed in to change notification settings

Mchana/oppo-games-group6

 
 

Repository files navigation

OppoGames

OppoGamesDemo-2xspeed-720medqual.mp4

OppoGames is a fullstack social-gaming site, showcasing use of the MERN stack, Socket.io and Tailwind CSS.

Users can sign up, log in, and play a number of mini-games 1v1 with other users. Users can see their opponents moves in real-time.

Screenshot 2024-01-12 at 05 27 24 Screenshot 2024-01-12 at 05 27 34

Screenshot 2024-01-12 at 02 33 27 Screenshot 2024-01-12 at 02 39 48 Screenshot 2024-01-12 at 02 41 23

Installing Project Dependencies:

Node.js

  1. Install Node Version Manager (nvm)
    brew install nvm
    
    Then follow the instructions to update your ~/.bash_profile.
  2. Open a new terminal
  3. Install the latest version of Node.js, currently 18.1.0.
    nvm install 18
    

MongoDB

  1. Install MongoDB
    brew tap mongodb/brew
    brew install mongodb-community@5.0
    
    Note: If you see a message that says If you need to have mongodb-community@5.0 first in your PATH, run:, follow the instruction. Restart your terminal after this.
  2. Start MongoDB
    brew services start mongodb-community@5.0
    

Packages:

  1. npm install in the three main folders:

    ; cd api
    ; npm install
    ; cd ../frontend
    ; npm install
    ; cd ../socket
    ; npm install

Running the App:

  1. Start the server application (in the api directory)

    ; cd api
    ; JWT_SECRET=f6d278bb34e1d0e146a80b16ec254c05 npm start
  2. Start the front end application (in the frontend directory)

In a new terminal session...

; cd frontend
; npm start

You should now be able to open your browser and go to http://localhost:3000/

  1. Start the socket (in the socket directory)

    In a new terminal session...

; cd socket
; npm start

About

Oppo Games is a social mini-games site, built with the MERN stack, Tailwind and Socket.io. Group project by Tej Chana, Perran Thomas, Ray Brown, Onuora Wright, and Claire Peng

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.1%
  • CSS 6.2%
  • HTML 0.7%