Skip to content

How to run our app locally

Devyan Biswas edited this page Mar 8, 2021 · 4 revisions

How to run our app ( in case deployment fails)

One can run our app through the use of our github repo! What you should do is first run the command “git clone https://github.com/cs130-w21/11.git” in the place where you want to save this project. Then, you can pull the latest code from the “master” branch or “dev” branch using “git pull origin dev” or “git pull origin master”. Finally, once you’re done with that, enter the “11” folder, enter the “sportify-frontend” folder, and run “npm install” to get all the frontend libraries we used for this project. Next, go back to the parent folder, go to the “sportify-backend folder”, and run “npm install” as well as “npm install bcrypt” in order to get all backend dependencies. Finally, you can open another git bash terminal and go to “sportify-frontend”. On sportify-frontend, run “npm run dev”, and go to your browser and type “localhost:3000” if the command before didn’t already open the frontend of our app. From here, you can run our app, and test all the functionality.