- Project Overview
- Demo
- Features
- Technologies Used
- Getting Started
- Git Flow
- Contributing
- Issue Management
- Continuous Integration/Continuous Deployment (CI/CD)
- Project Tasks and Sprints
- License
- Contact
CarPrime is a cutting-edge car rental application designed to provide users with a seamless and intuitive experience in renting vehicles. The platform caters to both individual customers and businesses, offering a wide range of features to manage vehicle rentals efficiently.
- User-Friendly Interface: Deliver an intuitive and responsive frontend that enhances user experience across all devices.
- Comprehensive Vehicle Management: Allow users to browse, search, and filter a vast inventory of vehicles with detailed specifications.
- Secure Booking and Payment: Implement secure booking processes with integrated payment gateways to ensure safe transactions.
- Administrative Controls: Provide administrators with robust tools to manage vehicles, bookings, and user accounts effectively.
- Scalability and Performance: Ensure the application is scalable to handle a growing user base and maintain optimal performance.
- User Authentication:
- Registration and login functionalities.
- Password reset and account recovery options.
- Vehicle Browsing:
- Browse a wide range of vehicles with detailed information.
- Advanced filtering and search capabilities.
- Booking Management:
- Create, view, and cancel bookings with ease.
- Real-time availability checks.
- Payment Processing:
- Secure payment gateway integration (e.g., Stripe).
- Support for multiple payment methods.
- Admin Dashboard:
- Manage vehicle listings, bookings, and user accounts.
- Generate reports and analytics.
- Responsive Design:
- Optimized for desktops, tablets, and mobile devices.
- Notifications:
- Email notifications for bookings, confirmations, and updates.
- API Documentation:
- Comprehensive API docs using Swagger for easy integration and development.
- Frontend:
- React.js
- Redux for state management
- Tailwind CSS for styling
- Backend:
- .NET 6
- Entity Framework Core for ORM
- ASP.NET Core Web API
- Database:
- SQL Server
- Others:
- Git & GitHub for version control
- Docker for containerization
- Azure DevOps for CI/CD pipelines
- Swagger for API documentation
Ensure you have the following installed on your local machine:
- Git
- .NET 6 SDK
- Node.js & npm
- Docker (optional, for containerization)
-
Clone the Repository
git clone https://github.com/Polyphemus980/CarPrime.git cd CarPrime -
Clone the Repository
cd CarPrime dotnet restore -
Setup Frontend
cd CarPrime dotnet run
We follow a structured Git Flow to ensure smooth development, collaboration, and deployment processes. Below is an overview of our branching strategy, naming conventions, and workflow.
-
Main (
mainormaster)- Purpose: Reflects the production-ready state.
- Access: Protected; merges only via pull requests after code review.
- Deployments: Automated deployments to production occur from this branch.
-
Develop (
develop)- Purpose: Integration branch for features; represents the latest development state.
- Access: Protected; requires pull requests for merging.
- Deployments: Used for staging environment deployments.
-
Feature Branches (
feature/*)- Purpose: Develop new features or enhancements.
- Base Branch:
develop - Merge Back To:
develop
-
Release Branches (
release/*)- Purpose: Prepare for a new production release.
- Base Branch:
develop - Merge Back To:
mainanddevelop
-
Hotfix Branches (
hotfix/*)- Purpose: Quick fixes for critical issues in production.
- Base Branch:
main - Merge Back To:
mainanddevelop
Consistent branch naming is crucial for clarity and organization. Below are the conventions for each branch type:
-
Main Branch
- Name:
mainormaster
- Name:
-
Develop Branch
- Name:
develop
- Name:
-
Feature Branches
- Prefix:
feature/ - Format:
feature/<short-description> - Example:
feature/user-authentication
- Prefix:
-
Release Branches
- Prefix:
release/ - Format:
release/v<major>.<minor>.<patch> - Example:
release/v1.2.0
- Prefix:
-
Hotfix Branches
- Prefix:
hotfix/ - Format:
hotfix/<short-description> - Example:
hotfix/fix-login-bug
- Prefix:
Follow these steps to create and manage branches according to the Git Flow strategy.
Developing a new feature should start from the develop branch.
# Switch to the develop branch
git checkout develop
# Pull the latest changes
git pull origin develop
# Create a new feature branch
git checkout -b feature/<short-description>
# Switch to the develop branch
git checkout develop
# Pull the latest changes
git pull origin develop
# Create a new release branch
git checkout -b release/v<major>.<minor>.<patch>
For critical issues in production, create a hotfix branch from main.
# Switch to the main branch
git checkout main
# Pull the latest changes
git pull origin main
# Create a new hotfix branch
git checkout -b hotfix/<short-description>
git checkout develop
git pull origin develop
git checkout -b feature/awesome-feature
git checkout develop
git pull origin develop
git checkout feature/awesome-feature
git rebase develop
git checkout develop
git merge feature/awesome-feature
git push origin develop
git checkout develop
git pull origin develop
git checkout -b release/v1.0.0
git checkout main
git pull origin main
git merge release/v1.0.0
git tag -a v1.0.0 -m "Release version 1.0.0"
git push origin main --tags
git checkout develop
git merge release/v1.0.0
git push origin develop
git checkout main
git pull origin main
git checkout -b hotfix/critical-bug
git checkout main
git merge hotfix/critical-bug
git tag -a v1.0.1 -m "Hotfix critical bug"
git push origin main --tags
git checkout develop
git merge hotfix/critical-bug
git push origin develop
git clone https://github.com/yourusername/car-rental-frontend.git
cd car-rental-frontend
npm install
npm start
We welcome contributions! Please follow the Git Flow outlined above to create feature branches, submit pull requests, and ensure your code adheres to our coding standards.
Click the Fork button at the top-right corner of the repository page to create your own copy.
git clone https://github.com/Polyphemus980/CarPrime.git
cd car-rental-frontend
git remote add upstream https://github.com/Polyphemus980/CarPrime.git
git checkout -b feature/your-feature-name
git add .
git commit -m "Add user authentication feature"
git push origin feature/your-feature-name
Copyright (c) [2025] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
For contact, please private message the creators through the official mail listed on the github account.
