Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.
/ PhotoStore Public archive

A buggy web application to store and share your photos

Notifications You must be signed in to change notification settings

opencodeiiita/PhotoStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhotoStore

A buggy web application to store and share your photos

Before you start

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

For Cyber Security

Please refer to cybersec branch

For Web Development

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

Requirements

  • 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

Setup

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/*

Issues

Go through the code, visit the web application
See Issues to know more

Queries

For any queries related to this project, please keep them to Discord only

Have fun 😄

About

A buggy web application to store and share your photos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published