How We Solved It
Sphere’s software development team designed an API using the Python language and Flask framework, as well as SQLAlchemy ORM and PostgreSQL RDB. The new system contains a web and two mobile applications, meeting the requirements of four distinct roles. Each of these roles provide access to the corresponding API endpoints.
The Supervisor can set locations, gas prices, and hours of availability, distribute workload, manage attendants, and track all orders.
The Administrator can set payment methods, track customer orders, manage customers and vehicles, and run monthly order reports.
The Customer can register as a user, enter payment information, specify location and vehicle information, and select a date, time, and type of gas.
The Attendant can view and accept orders, perform fill-ups, and complete purchases. A messaging feature enables the attendant to alert the customer of any problems.