One app for all cargo-truck drivers.
Book your ferry trips, track your trips in real time to avoid any delay or cancelled ferry trip, inform your forwarder about your truck route.
Web app using Angular 8+.
You can:
- Book a ferry trip on a ferry line company
- Fill your CMR form
- Track your trips times (scheduled, estimated and real time)
- Create your truck route
- Check ferry lines schedules
- Keep your ferry trips and CMR forms history
- Install node (which includes
npm
) - Install Angular CLI.
-
npm install
in project's root directory -
npm start
to run the dev server -
ng build --prod
to build the production project- Website is built in directory
dist/freeport-riga/
- Website is built in directory
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Angular components are in the src/app/components/
directory.
Services are in the src/app/services
directory.
Services are used to communicate with the backend part and retrieve data from it. (Trips, user login, etc.)
The AuthGuard.ts
in the src/app/guards/
directory is used to "protect" the project from unauthenticated users. They have to pass the guard (i.e. be logged in) to see the application.