PixelPalace is a Python Flask-based application that allows users to add and delete photos seamlessly. This project uses Flask for web development and several other essential Python libraries.
- Add photos to your gallery.
- Delete photos from your gallery.
- Secure user authentication.
- Email validation for user inputs.
Before running the project, ensure you have the following installed:
- Python (3.6 or higher)
- Pip (Python package manager)
Required Python packages (install via pip):
flask
flask-wtf
passlib
email-validator
Follow these steps to set up the project:
-
Clone the Repository
Clone this repository to your local machine:git clone https://github.com/your-username/pixelPalace.git cd pixelPalace
-
Create a Virtual Environment
Create and activate a virtual environment to manage dependencies:python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
-
Install Dependencies
Install the required Python packages:pip install flask flask-wtf passlib email-validator
-
Run the Application
Start the Flask development server:flask run
The application will be accessible at
http://127.0.0.1:5000
.
- Visit the home page of PixelPalace.
- Add photos to your gallery using the upload feature.
- Delete photos as needed with the delete option.
- If you encounter the error
Exception: Install 'email_validator' for email validation support
, make sure you have installedemail-validator
using pip.
Feel free to contribute to PixelPalace! Fork the repository, create a new branch, and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.