https://github.com/filipczuba/gardenia
Progetto per l'esame di Tecnologie Web dell'Università degli Studi di Modena e Reggio Emilia.
https://github.com/filipczuba/gardenia
bootstrap4 css django webapp
Last synced: 3 months ago
JSON representation
Progetto per l'esame di Tecnologie Web dell'Università degli Studi di Modena e Reggio Emilia.
- Host: GitHub
- URL: https://github.com/filipczuba/gardenia
- Owner: filipczuba
- License: mit
- Created: 2024-11-19T12:05:05.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-19T13:33:39.000Z (over 1 year ago)
- Last Synced: 2025-01-24T08:30:59.995Z (over 1 year ago)
- Topics: bootstrap4, css, django, webapp
- Language: Python
- Homepage:
- Size: 23.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gardenia - Green Sharing Web Application
## 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.
## 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
```bash
git clone https://github.com/your-username/gardenia.git
cd gardenia
```
2. Create virtual environment
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
3. Install dependencies
```bash
pip install -r requirements.txt
```
4. Run migrations
```bash
python manage.py migrate
```
5. Create superuser
```bash
python manage.py createsuperuser
```
6. Run development server
```bash
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:
```bash
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