As students in CS35L course we believed that there should be a social media platform that encourages people to meet outside and participate in fun activities such as playing tennis, soccer and etc.
AllExcersises web application will allow users to post their exercise events, post comment about those events. Users are able to post only if they sign up or login to the website. They can upload a picture, a title and also tag their post manually or use our automated tagging system that will choose keywords from the post's content.
We believed that goal of this application is to bring people out together therefore we implemented comments to allow people to communicate about an event.
Our web application includes two separate parts, front-end and back-end. front-end is in react and back-end is using django as their frameworks.
-
Download
python 13.2.0or useanacondafor your python.- Make a new virtual environment and activate it.
- You can follow this installation guide and on how to activate your virtual environment.
https://docs.python.org/3/library/venv.html
- Make a new virtual environment and activate it.
-
After activating your environment:
- Start a new
bashterminal. - run thesetup.shincs35-project/AllExercises - You should see the following in your terminal:
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
March 14, 2025 - 04:42:28
Django version 5.1.4, using settings 'AllExercises.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.- Start by navigating to the
cs35l-project/front-end - Make sure you have
node.jsinstalled. You can installnode.jsfrom :https://nodejs.org/en/download - To use the Google Map API please use the
.envand assign theVITE_GOOGLE_MAPS_API_KEYwith your API key which you can provide it through Google Maps API. - Start a new terminal and make sure you have not closed the
back-endterminal, then run the following commands:
- First:
npm install- Second:
npm run dev- You should see the following in your terminal:
> front-end@0.0.0 dev
> vite
VITE v6.1.0 ready in 150 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help- Go ahead and click on the provided link in the console bar
http://localhost:5173/and you should be able to view the website.