The Car Park is a web-based application that allows managers to efficiently manage various aspects of a car park, including enterprises, vehicles, tracks, trips, and generating reports.
- View a list of all enterprises registered in the car park.
- Add, update, or delete enterprises with relevant information.
- Display a list of vehicles associated with the registered enterprises.
- Add, update, or delete vehicle details including model, price, year, mileage, color, and VIN.
- Track and log trips made by vehicles, recording important information such as start and end times, distance traveled, maximum velocity, and maximum acceleration.
- View detailed information about each trip and track.
- Generate reports summarizing the trips made by vehicles over specified periods.
- Generate reports on a daily, monthly, or yearly basis, detailing mileage and other relevant trip data.
- Manager: This is the main role, allowing access to all features of the application, including enterprise and vehicle management, track and trip management, and generating reports.
- Bot is available here
- Go (Golang) installed
- PostgreSQL database set up
- Dependencies: Gin, PostgreSQL driver
- Clone the repository (SSH):
git@github.com:novikov-ai/car-park.git
cd car-park
-
Configure your PostgreSQL database connection in
docker-compose.yml
(change ENV) -
Build and run Docker:
docker-compose build
docker-compose up
- Access the app in your web browser at
http://localhost:8080/login
.
- Log in as a manager.
- Use the navigation menu to access different sections of the app: enterprises, vehicles, tracks, and reports.
- Add, update, or delete enterprises and their associated vehicles.
- Track trips and analyze track data.
- Generate reports to monitor vehicle usage over different time periods.
Contributions to the Car Park are welcome! Feel free to open issues and submit pull requests for improvements or bug fixes.
This project is licensed under the MIT License.