Skip to content

Place where people can throw trash away as a blog in a community

Notifications You must be signed in to change notification settings

wnadim92/trash-community

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trash Clean Up Blog

Trash Clean Up Blog is a web application that allows users to register, log in, and post information about trash clean-up activities. Users can upload photos, provide details about the location and date of the clean-up, and view historical posts.

Features

  • User registration and login
  • Password reset functionality
  • Post trash clean-up activities with photos
  • View historical posts
  • Ensure compliance with local disposal laws and regulations for safe trash disposal

Requirements

  • Python 3.10+
  • Flask 2.0.2
  • Flask-Session 0.4.0
  • Werkzeug 2.0.2
  • itsdangerous 2.0.1
  • Jinja2 3.0.3
  • MarkupSafe 2.0.1
  • click 8.0.3
  • importlib-metadata 4.8.2
  • zipp 3.6.0
  • typing-extensions 3.10.0.2
  • SQLite3

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/trash-clean-up-blog.git
    cd trash-clean-up-blog
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt
  4. Initialize the database:

    python -c "from app import init_db; init_db()"

Usage

  1. Run the Flask application:

    flask run
  2. Open your web browser and go to http://127.0.0.1:5000.

Project Structure

trash-clean-up-blog/
├── app.py                  # Main application file
├── requirements.txt        # List of dependencies
├── .gitignore              # Git ignore file
├── README.md               # Project README file
├── templates/              # HTML templates
│   ├── base.html           # Base template
│   ├── index.html          # Home page template
│   ├── register.html       # Registration page template
│   ├── login.html          # Login page template
│   ├── drop_off.html       # Drop off page template
│   ├── historical_posts.html # Historical posts page template
│   ├── reset_password.html # Password reset page template
│   ├── set_new_password.html # Set new password page template
│   ├── about.html          # About page template
│   ├── eula.html           # End User License Agreement page template
├── static/
│   ├── uploads/            # Directory for uploaded photos
└── flask_session/          # Directory for Flask session files

## License
This project is licensed under the MIT License. See the LICENSE file for details.

## Contact
If you have any questions or suggestions, please contact me at wnadim2992@gmail.com.

About

Place where people can throw trash away as a blog in a community

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published