Our project involved creating a React front-end application that provides a user-friendly interface for one of the server-side APIs developed by another backend group during week 6 of the bootcamp.
This project was bootstrapped with Create React App.
- JavaScript
- HTML
- CSS
- React.js (+ React Router Dom and Multiselect library
The server side api can be found here: https://github.com/thibyaa/Backend_TwentyOne_API
-
Software needed to run the API:
- IntelliJ and Java (version 17)
- Postman
- Postico
- PostgreSQL
-
Installation instructions:
- Git clone from the server side API Repo
- Create an SQL database and name it
Backend_TwentyOne_APIso that it matches with the name in theapplication.propertiesfile (src of server side API) - Once your database has been created, run the
BackendTwentyOneApiApplication.javafile in IntelliJ to get started. - You can set up your tests using Postman on
localhost:8080/{extension}or type inlocalhost:8080/gamesin your browser, for example, to see the games data. More details can be found from the backend repo
To navigate between pages on the React app, we configured the following routes using the React Router:
-
Landing Page: http://localhost:3000
-
LogIn Page: http://localhost:3000/logIn
-
Single Player Page: http://localhost:3000/singlePlayer
-
Multiplayer Page: http://localhost:3000/multiPlayer
-
Game Page: http://localhost:3000/gamePage
Note: Depending on what game mode is selected, you will be taken to a single or multiplayer game page.
- Log In Container to be turned into change into a modal (additional library)
- Players to be able to choose avatars
- Deployment of website
- Zaynah Sadiq (https://github.com/Zaynah99)
- Stella Annor (https://github.com/StellaA30)
- Fiona Eshun (https://github.com/Fiona2223)
- Thibyaa Mahasivam (https://github.com/thibyaa)

