NetFix is a Django-based service marketplace that connects companies offering home services with customers seeking them. The platform allows companies to list their services and customers to request them, providing a seamless interaction between service providers and consumers.
-
User Management
- Dual registration for companies and customers
- Email-based authentication
- Profile management with role-based access control
-
Service Management
- Companies can create and list services
- Customers can request services
- Dynamic pricing and service categorization
- Service history tracking
-
User Interface
- Responsive design with a modern look
- Dynamic navigation based on user roles
- Interactive elements for better user experience
-
Clone the Repository
git clone https://learn.zone01kisumu.ke/git/oumouma/netfix.git cd netfix -
Set Up Virtual Environment
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Dependencies
pip install -r requirements.txt
-
Database Setup
python manage.py migrate
-
Run Development Server
python manage.py runserver
- main: Core application with templates and base views.
- services: Manages service-related functionalities.
- users: Custom user system with registration and authentication.
- static: Contains CSS and other static assets.
- templates: HTML templates for rendering views.
- User: Custom user model extending
AbstractUserwith roles for company and customer. - Company: Represents service providers with fields for specialization and rating.
- Customer: Represents service consumers with a date of birth for age calculation.
- Service: Represents services offered by companies, with fields for pricing, category, and company association.
- RequestService: Tracks service requests by customers, including duration and location.
- Base Template:
main/templates/main/base.html- Provides the basic structure for all pages. - Home Page:
main/templates/main/home.html- Displays the most requested services. - Profile Page:
users/templates/users/profile.html- Shows user-specific information and services.
- CSS: Located in
static/css/style.css, providing styling for the entire application. - Images: Stored in the static directory for use in templates.
- Fork the repository.
- Create a feature branch.
- Submit a pull request with a detailed description.
- Follow PEP8 guidelines for code style.
- Sheilla Juma - GitHub Profile
- Ouma Ouma - GitHub Profile
This project is licensed under the MIT License. See the LICENSE file for details.
