Skip to content

Repository files navigation

🚗 AZS Site - Fuel Station Frontend

Framework Build Tool Status

📋 Overview

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.

⚠️ Important Attribution Note

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.

🔧 Technology Stack

  • Vue.js: Progressive JavaScript framework
  • Vite: Next-generation frontend build tool
  • pnpm: Fast, disk space efficient package manager

💻 Development Commands

Install Dependencies

pnpm install

Run Development Server

pnpm dev

Build for Production

pnpm build

📂 Project Structure

The project follows standard Vue + Vite conventions with some special considerations:

Legacy Code

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.

Public Assets

Place all files that should be copied directly to the public folder into /public/public folder. This ensures their absolute path starts with /public.

🔄 Integration with Rust Backend

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

🚀 Deployment

For production deployment, build the frontend and serve it through the Rust backend:

  1. Build the frontend: pnpm build
  2. Copy the generated files to the appropriate location for the Rust server
  3. Start the Rust server, which will serve both the API and frontend assets

🧪 Project Context

This frontend is part of our evolution from:

  1. An initial C/Ultralight desktop application
  2. A C++/Crow web server implementation
  3. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages