This repository contains the frontend application for the Fuel Station Management System. It serves as the user interface component that connects to our Rust-based backend server.
This frontend was not developed by me. The Vue-based interface was created by a separate development team and is included in this repository as the recommended client for interacting with my Rust backend server.
My contribution to this project is focused on the Rust backend implementation, while this frontend is maintained here for completeness and ease of deployment.
- Vue.js: Progressive JavaScript framework
- Vite: Next-generation frontend build tool
- pnpm: Fast, disk space efficient package manager
pnpm installpnpm devpnpm buildThe project follows standard Vue + Vite conventions with some special considerations:
The folder /public/old/* contains legacy code that is rendered or served by the Rust backend. This code is maintained for backward compatibility with existing systems.
Place all files that should be copied directly to the public folder into /public/public folder. This ensures their absolute path starts with /public.
This frontend is designed to communicate with our custom Rust-based backend server through a RESTful API. The Rust server handles:
- Authentication and authorization
- Business logic processing
- Database operations
- Hardware integration with fuel station equipment
For production deployment, build the frontend and serve it through the Rust backend:
- Build the frontend:
pnpm build - Copy the generated files to the appropriate location for the Rust server
- Start the Rust server, which will serve both the API and frontend assets
This frontend is part of our evolution from:
- An initial C/Ultralight desktop application
- A C++/Crow web server implementation
- The current Rust-based server (which serves this frontend)
While the Rust backend represents my core contribution, this frontend is maintained in this repository to provide a complete solution for fuel station management.
This frontend application complements the Rust backend server, providing a modern user interface for fuel station operators and cashiers.