A buggy web application to store and share your photos
This project is divided into two branches
-
cybersec
- Cyber Security- finding bugs
- patching them
-
main
- Web Development- improvements or additions in frontend and/or backend
Please refer to cybersec
branch
Other than the issues provided in Issues
You are not restricted from adding your own features
However, it is upto the organizers and/or mentors whether to reward points for it or not
For any new feature that you come up with
please attach screenshots with proper details in your Pull request
It will make it easier for the mentors to get to know about feature
- Basic understanding of backend and frontend
- Python3 (3.9.9 or newer is expected)
pip
(package installer for Python)virtualenv
Read more about virtualenv
here
Assuming you have cloned this repository, following instructions will get your server running
# Create a virtual environment
virtualenv venv
# Activate it
# for Linux
source venv/bin/activate
# for Windows
.\venv\Scripts\activate
# Install required packages
pip install -r requirements.txt
# Run the server
python server.py
# For debugging, to see server requests
python app.py
# Server will run on `localhost:8080`
# you can modify this in `app.py` and/or `server.py`
# To clean the database, reset the web application
# remove `photostore.db` and clear the `uploads` directory
# for Linux
rm photostore.db uploads/*
# for Windows
del photostore.db uploads/*
Go through the code, visit the web application
See Issues to know more
For any queries related to this project, please keep them to Discord only
Have fun 😄