Want to chat with your gamer friends? Use Discord.
Want to check out how your gaming skills compare to theirs? User Tracker.gg.
Want to share your in-game achievements? Use gaming forums.
Want to FIND new gamer friends? Good luck using social media!
There is no SINGLE social networking platform that caters its user experience towards online multiplayer gamers, and acts as a central hub for them to find new people to play with, to chat with, and to share in-game achievements with.
Playbook is a one-stop shop solution for online multiplayer gamers. The platform allows gamers to share their in-game stats such as ranks, position, and play-style, and streamlines the process of finding new people to play with based on the in-game information that truly matters for each game. Playbook also allows gamers to post pictures and clips of their in-game achievements.
Playbook was created using:
- MongoDB
- Express.js
- React.js
- Node.js
To run playbook locally you will need:
- node (at least version 16.0.0)
- npm (at least version 6.0.0)
To install these follow these guides/links:
https://nodejs.org/en/download
https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
To run Playbook locally:
-
Clone the repository,
- run the following command
git clone https://github.com/CSCC012023/final-project-s23-200-ok.git
-
create a file called .env in the
server/
directory in the following format:- for the
MONGO_URI
environment variable, you will have to set up a cluster locally, you can follow the steps here: https://www.mongodb.com/docs/atlas/tutorial/deploy-free-tier-cluster/ under the ATLAS UI section as it is the easiest to use
NODE_ENV=development MONGO_URI=[ADD YOUR MONGO CLUSTER URI HERE] PORT=5000
- for the
-
go to the server directory (
cd server
) and runnpm i
to install backend dependencies -
go to the client directory (
cd client
) and runnpm i
to install frontend dependencies -
go to the server directory (
cd server
)and then type the commandnpm run dev
-
the server should be running on port
5000
and you can access the page locally athttp://localhost:3000
Playbook follows a git flow style of branching
To add your code:
- Get a JIRA ticket assigned
- Create a branch called
feature/<ticket number>-branch-name
from the develop branch- for the
branch-name
make sure to call it something descriptive!- If I was working on a ticket to add chat notifications I could call it
feature/CSCC01PROJ-13-chat-notifications
- If I was working on a ticket to create a login page I could call it
feature/CSCC01PROJ-9-create-login-page
- If I was working on a ticket to add chat notifications I could call it
- for the
- Make changes and open a pull request
- After a code review, get your changes merged 🙂