City Car is an advanced system for managing and renting vehicles, designed for customers, employees, and managers.
The system offers a user-friendly and modern interface, allowing each user to perform actions tailored to their needs.
Payment for vehicle rentals is based on time rates, according to the duration of the rental.
- Rent vehicles from various locations.
- Return vehicles at the end of the rental period (available only for active rentals).
- Report issues with vehicles (e.g., maintenance or cleanliness) – available only for active rentals.
- View rental history.
- Easily extend rental periods.
- Search for vehicles using filters:
- Number of seats.
- Location.
- Availability.
- View vehicles that require maintenance, based on their role.
- Report vehicle repairs.
- View their monthly salary calculations.
- Add new vehicles to the system.
- Add new employees.
- Perform overall system management.
- Backend: Developed in
C#. - Frontend: User interface developed using
React.js. - Database: Managed using
SQL.
Before getting started, make sure your system meets the following requirements:
- Node.js (version 14 or higher): To run the client-side.
- Visual Studio with support for
.NET Framework: To run the server-side. - SQL Server installed: For database management.
- Open the project in Visual Studio.
- Update the database connection string (
Connection String) in theappsettings.jsonfile:{ "ConnectionStrings": { "DefaultConnection": "Server=your-server-name;Database=CityCarDB;Trusted_Connection=True;" } } - Run the migrations to create the database:
Update-Database - Start the server:
- Click
Startor use the shortcutF5.
- Click
- Navigate to the client-side folder (React App) in the terminal:
cd path/to/client - Install all dependencies:
npm install
- Start the local server:
npm start
- Open your browser and navigate to:
http://localhost:3000
- Ensure the
CityCarDBdatabase has been successfully created. - If there is seed data, run the appropriate code in Visual Studio.
- Backend: All API and database management files are located in the server folder.
- Frontend: The client folder contains the user interface developed using React.
- Database: Migration files and models are located in the backend.
Thank you to everyone who supported and contributed to the development of this project!
If you would like to add or improve functionality, please reach out to us or open a Pull Request.
This project was developed by Miri Cohen and Tami Weber.