PhotoVault is a lightweight photo library application built with Flask and Waitress. It allows users to upload, view, and download photos via a simple web interface and provides API endpoints for programmatic interaction.
- Upload Photos: Easily upload photos to your library.
- View Photos: Browse your photo library with a clean, responsive gallery.
- Download Photos: Download photos directly from the gallery.
- REST API: Use API endpoints for uploading, retrieving, and listing photos programmatically.
- Clone the repository:
git clone https://github.com/your-username/PhotoVault.git cd PhotoVault
- Run the application:
py ./WSGU.py The application will start on http://127.0.0.1:1935.
Navigate to http://127.0.0.1:1935 in your browser. Use the "Upload Photo" form to add new photos. View the uploaded photos in the gallery. Click on a photo to download it.
Method | Endpoint | Description |
---|---|---|
POST | /photo | Upload a photo |
GET | /photo | List all uploaded photos |
GET | /photo/ | Retrieve a specific photo |
Contributions are welcome! Here's how you can help:
- Fork the repository.
- Create a new branch (git checkout -b feature/your-feature-name).
- Make your changes and commit them (git commit -am 'Add some feature').
- Push to the branch (git push origin feature/your-feature-name).
- Open a pull request.