https://github.com/luukalindgren/vic_kuljetustahvo
Route planner and calculator for crane deliveries.
https://github.com/luukalindgren/vic_kuljetustahvo
bootstrap emailjs google-maps-api react supabase vite
Last synced: about 2 months ago
JSON representation
Route planner and calculator for crane deliveries.
- Host: GitHub
- URL: https://github.com/luukalindgren/vic_kuljetustahvo
- Owner: Luukalindgren
- Created: 2024-02-05T09:06:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-21T09:55:21.000Z (over 2 years ago)
- Last Synced: 2025-07-05T21:45:08.209Z (12 months ago)
- Topics: bootstrap, emailjs, google-maps-api, react, supabase, vite
- Homepage: https://vic.kuljetustahvo.fi/
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Very Important Client (VIC) for Kuljetus Tahvo Oy
Route planner and calculator for crane services.
Not an open source project, paid freelance project so the source code is private.
**Website:** https://vic.kuljetustahvo.fi
## Tech stack:
- Written in *React* with *JavaScript*
- Built with *Vite*
- Hosted in *Azure* as *Web App*
- Authorization and database is done with *Supabase*
- Email sending is done with *EmailJS*
- Google maps is done with *@react-google-maps* library.
## How it works / Features:
### User:
- Made for hardware stores and others that need a crane delivery from a to b.
- User logs in with personal credentials that are made for them by the admin.
- Automaticly calculates the price for the route with given parameters, such as the amount of cargo, how big crane is needed and is there a need for a trailer.
- Allows users to pick a date from calendar.
- Calculator accepts up to two optional waypoints or stops that are included in to the calculation.
- These waypoints are added with the press of "Lisää pysähdys" button.
- Full route is then displayed on the map.
- Distance, price and route with stops are written in text above the map.
- User can then confirm the route by pressing "Lähetä Hyväksyntä" button.
- This opens a confirmation modal and when pressed "Hyväksy" button, website stores the route data to database and sends a confirmation email to the admin.
### Admin:
- Website automatically detects an admin email when logging in.
- Website displays admin page "Hallintasivu" with two tables, users and route history.
- Within the users table, admin can edit and add new users to the authorization/database.
- Route history table only displays all the confirmed routes that are in the database.
## Screenshot from the private repository:

## Screenshots from the webapp:
