Skip to content

Django-based application that connects people with volunteer opportunities. Discover, join, and create events in various categories, and engage with your community to make a difference.

Notifications You must be signed in to change notification settings

rayapetkova/VolunteerAct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌼 VolunteerAct

A Django-based application that allows users to browse and participate in volunteer events across various categories. Users can register, login, add events to favourites, attend events, and more.

Recommended resolution on computer: 1920x1080

Recommended resolution on phone: <600px

✨ Features

πŸ” Authentication

  • Register: Users can register, providing First Name, Last Name, Email, Password and Confirm Password - error messages are displayed if the values are not in the correct format. Users can also register with Google.
  • Login: Users can log in to their account after it has been created. Users can also login with Google.
  • Logout: Users can log out of their accounts after they have been logged in.

πŸ“Œ Header

  • Navigation Buttons:

    • Home: Redirects to the Home page.
    • Emergency button: Shows if there are emergency events or not. If the button flashes in red, then there are some emergency events. If the button is green, then there are no emergency events at the moment.
    • About Us: Redirects to the About Us page.
    • Contact Us: Redirects to the Contact Us page.
    • All Events: Redirects to the All Events page.
    • User Authentication Buttons:
      • Log In: Displays a login button if the user is not logged in.
      • Sign Up: Displays a sign up button if the user is not logged in.
      • User Dropdown Menu: Displays a dropdown with the user's profile image if logged in, which includes links to:
        • Favourites: Displays the events that the user has added to favourites.
        • Tickets: Displays the events that the user is attending.
        • My Events: Displays the events that the user has created.
        • My Profile: Displays an edit form with the user's information.
  • Header if user is logged in: image

  • Header if user is not logged in: image

Footer

  • Links to Log In and Sign Up if the user is not logged in.

  • Links to Profile, Favourites, Tickets, My Events if the user is logged in.

  • Links to Events, Upcoming Events, Past Events in section "Discover".

  • Links to About Us, Contact Us pages.

  • Links to social accounts.

  • Footer: image

🏠 Home Page

  • Upcoming events: See a part of the upcoming events.

  • Explore categories: See all categories and explore them one by one.

  • Popular Cities on VolunteerAct: See first six popular cities that have the most attendees.

  • Discover Events: Section with a link that redirects to the events page.

  • Create an Event: Section with a link that redirects to the create event page.

  • Home Page: image image image

πŸ“‘ Category Page

  • Short and long descriptions of the category.

  • Number of events and members; Some of the cities that the events take place at.

  • Part of the upcoming events in the category.

  • Part of the past events in the category.

  • Active members - members that participate in events in the category.

  • Photos section - photos of the events in this category.

  • Upload a photo - only active members of the category are allowed to upload a photo.

  • Category Page: image image image image

πŸŽ‰ Event Page

  • Title and details of the event.

  • Category, city, location, online link (if online event) displayed.

  • Save Event to Favourites button for logged in users.

  • Edit and Delete for author of the event and admin (user who is from the staff_members group or is superuser)

  • Comments section - only first three comments are displayed and every logged in user can add a new comment.

  • Edit and delete comment - for author of the comment and admin (user who is from the staff_members group or is superuser).

  • Attend button - for every logged in user except for the author because he is already attending the event.

  • Share button - for every kind of users.

  • See more section - displays other events from the category.

  • After clicking the Delete button, a container is displayed on the page which asks for the confirmation for the deletion from the user.

  • Event Page: image image image image

πŸ’¬ Event Comments Page

  • Displays all the comments related to the event.

  • Event Comments Page: image image

πŸ“ Edit Event Page

  • Only the author of the event, a user of the 'staff_members' group or a superuser can access this page.

  • The user can change the title, poster image, details, time, city, location and online meeting link (if the event is online).

  • Edit Event Page: image image

πŸŒ† City Page

  • Short description of the city.

  • Displays upcoming and past events in the city.

  • City Page: image image image

πŸ” Explore Events Page

  • Only logged in users have access to this page.

  • All events displayed.

  • A search bar which allows users to search for an event case-insensetively.

  • Filters for category, city and time.

  • Explore Events Page: image image

πŸ—“οΈ Create An Event Page

  • Only logged in users have access to this page.

  • User needs to provide category, image, title, city and location (if the event is not going to be online), online meeting link (if the event is going to be online), time and details.

  • Create An Event Page image

🚨 Emergency Events

  • Everyone has access to this page.

  • This page is dedicated to urgent events.

  • An event in this category becomes no longer urgent only when it is deleted.

  • Add Emergency Event button - only logged in users can add emergency events.

  • When an emergency event is added, all active members of its category will be notified by receiving an email.

  • Emergency Events: image image

πŸ“‹ About Us Page

  • Provides more information about VolunteerAct and what you can do in it.

  • About Us Page: image image

πŸ“§ Contact Us Page

  • A form for contacting the team of VolunteerAct through email. User needs to add his full name, email, subject and message.

  • Contact information - phone number, email, location, social media links

  • Location with a map

  • Contact Us Page: image image

⭐ Favourites Page

  • Dislays all the events that the users has saved to favourites.

  • A search bar which allows users to search for an event case-insensetively.

  • Filters for category, city and time.

  • Favourites Page: image

🎟️ Tickets Page

  • Displays all the events that the user is attending.

  • A search bar which allows users to search for an event case-insensetively.

  • Tickets Page: image

πŸ“… My Events Page

  • Displays upcoming and past events that the user has created.

  • Attending participants in the events that the user has created.

  • My Events Page image

πŸ‘¨β€πŸ”§ Profile Page

  • If the profile is of the currently logged in user, a form for editing will be displayed. The user can change his profile picture, first name, last name, phone number, email and bio.

  • If the profile is not of the currently logged in user, a page with the information for the specific user will be displayed.

  • Delete button - redirects to the delete profile page.

  • Profile page of the currently logged in user: image

  • Profile page of another user: image

⚠️ 404 Page

image

πŸ”’ 403 Page

image

πŸ›  Technologies

  • Python: Core language for functionality.
  • Django: Python-based framework.
  • PostgreSQL: Database system.
  • JavaScript: Language for functionalities on the front-end.
  • HTML: Language for the structure of the templates.
  • CSS: Styling the application.
  • Azure: Deployment platform.
  • Cloudinary: Storing user profile pictures.
  • Google AllAuth: Login and register with Google.
  • Google Email: Sending emails and receiving emails.
  • Pillow: Validate if a file is an image.
  • Yake: Extracting keywords from a text.
  • Whitenoise: Serves static files.
  • Pixabay API: Fetching images of cities.

πŸ§ͺ Data for testing purposes

πŸš€ Getting Started

πŸ“‹ Prerequisites

  • Python and Django installed.

πŸ›  Installation

  1. Clone the repository:

    git clone https://github.com/rayapetkova/VolunteerAct.git
  2. Create and activate venv

  3. Install requirements.txt:

    pip install -r requirements.txt
  4. Start the project:

   python manage.py runserver
  1. Open new terminal and run the command:

    celery -A VolunteerAct worker --pool=solo --loglevel=info 
  2. Open the URL generated in the first teminal and enjoy! :))


Thank you for being a part of VolunteerAct! For questions or suggestions, don't hesitate to reach out with any thoughts or concerns!

About

Django-based application that connects people with volunteer opportunities. Discover, join, and create events in various categories, and engage with your community to make a difference.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published