Skip to content

filipczuba/Gardenia

Repository files navigation

Gardenia - Green Sharing Web Application

Gardenia Logo Gardenia Logo

Project Overview

Gardenia is a web application designed for green sharing, allowing users to rent and share outdoor spaces like gardens and terraces. Built with Django, the platform enables property owners (Landlords) to list their spaces and renters to book them.

PIC PIC PIC

Technical Stack

  • Backend: Django Framework
  • Database: SQLite3
  • Frontend:
    • HTML
    • CSS
    • JavaScript
    • Bootstrap 4
  • Additional Libraries:
    • Crispy Forms
    • Widget Tweaks

Features

  • User authentication with custom user roles
  • Property listing and booking system
  • Review and rating mechanism
  • Advanced search with multiple filters
  • Responsive mobile-friendly design

Setup and Installation

Prerequisites

  • Python 3.8+
  • pip
  • virtualenv (recommended)

Installation Steps

  1. Clone the repository
git clone https://github.com/your-username/gardenia.git
cd gardenia
  1. Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  1. Install dependencies
pip install -r requirements.txt
  1. Run migrations
python manage.py migrate
  1. Create superuser
python manage.py createsuperuser
  1. Run development server
python manage.py runserver

Available Users

1. Administrator

  • Email: admin@admin.com
  • Password: password
  • Permissions: Full system access, can manage all users, posts, and reviews

Testing

Run test suites:

python manage.py test

Test Suites

  • PostAndBookingTest: Verifies post and booking management
  • ReviewTest: Checks review system integrity
  • AccountsTest: Tests user account functionalities

Future Roadmap

  • Implement geolocation search
  • Add dynamic availability calendar
  • Develop internal messaging system
  • Create REST API for mobile application

License

[MIT]

Contributors

Filip Czuba

About

Progetto per l'esame di Tecnologie Web dell'Università degli Studi di Modena e Reggio Emilia.

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Contributors