This project is a web application for managing and displaying a collection of cars you have driven. It provides a compact overview of all cars with their stats and a personal stats view to share.
- View all cars in a compact overview with their stats.
- View personal stats such as total cars, average year, and most common brand.
- Add new cars to the collection.
- Edit car details.
- Upload and delete car images.
- View car details in a separate page.
- Go
- Echo framework
- Jet templates
- Tailwind CSS
-
Clone the repository:
git clone https://github.com/danielmosss/GeredenAutosCollectie cd GeredenAutosCollectie -
Install dependencies:
go mod tidy
-
Create a
.envfile with the necessary environment variables. Get you RDW_APP_TOKEN from: https://opendata.rdw.nl/profile/edit/developer_settings -
Run the application:
go run main.go
-
Open your browser and navigate to
http://localhost:8080.
main.go: The main entry point of the application.handlers/: Contains the request handlers.database/: Contains database-related functions.views/: Contains Jet templates for rendering HTML views.
Navigate to the home page to see a list of all cars in a compact overview.
Use the form on the home page to add a new car by entering the kenteken and submitting the form.
Click on a car in the overview to edit its details. Update the fields and submit the form to save changes.


