Web Application Development
Horse Power: A Web-Based Used-Car Marketplace with Price Guidance and Trust Features
1Department of Computer Science and Engineering, Sanjay Ghodawat Institute, Atigre, Kolhapur, India
2Lecturer, Sanjay Ghodawat Institute, Atigre, Kolhapur, India
Published December 2026
Abstract
Buying or selling a used car is rarely straightforward. Listings are scattered across many sites, asking prices are hard to judge, and the real condition of a vehicle is often unclear. This paper presents Horse Power, a web-based used-car marketplace built as a capstone project to address these problems for students. Buyers can filter cars, view photographs and inspection reports, save and compare listings, estimate a monthly EMI and request test drives. Sellers submit vehicle details and photographs taken from required angles and receive an indicative price, while an administrator reviews each submission and decides which listings go online. A database-backed chatbot also helps users find cars through natural-language queries. The system is built with React, Node.js with Express, and PostgreSQL. The paper describes the database design, layered security, private storage of seller photographs, a formula-based price estimator and the chatbot. Across 66 sample vehicles, the estimator’s mean absolute percentage error against the stored sample prices was about 22%. These results are preliminary. The vehicle records, photographs, prices and inspection scores are demonstration data, the site does not process payments, and testing so far has been limited to local use, without a formal test programme or a large user study.
Keywords: used-car marketplace; web application; role-based access control; price estimation; React; PostgreSQL
1Introduction
Buying or selling a used car is rarely simple for either side. Buyers have to compare listings across several websites, decide whether an asking price is fair, and judge a car’s condition from whatever details the seller chose to share. This gap in information is a long-recognised problem in used-goods markets [1]. Sellers have difficulties of their own: they often do not know what their car is worth, and they must arrange meetings with strangers.
Horse Power is a web marketplace that brings this process into one place. Visitors can browse and filter listings, compare cars and work out an EMI. Registered users can save cars and request test drives. Sellers can submit a vehicle and get a price guide, and an administrator approves what appears publicly. A chatbot lets visitors search by simply describing the car they want.
The main objectives of the project are:
- 1. To build a working used-car marketplace with separate access roles for visitors, registered users and administrators.
- 2. To support buyer decisions through search filters, indicative fair-price labels, vehicle health scores and inspection scores.
- 3. To give sellers a price guide and a submission process that requires photographs from specified angles.
- 4. To protect application data by hashing passwords, using e-mail verification codes and restricting access to seller photographs.
- 5. To use free, widely adopted technologies so that future developers can maintain and extend the application.
The vehicle records, photographs, prices and inspection scores are sample data, and the site does not complete real sales or accept payments (see Section IV). The rest of the paper is organised as follows. Section II covers the background, requirements and related work. Section III outlines the areas studied. Section IV states the scope and limitations. Section V describes the implementation and findings, and Section VI concludes with future work.
2Identification and collection of the idea
2.1How the idea was identified
We began by studying how existing used-car websites guide a user from searching to deciding whether to buy. One well-known marketplace served as a reference for interface layout, including a filter panel beside the results, a short vehicle-submission form and indicators of vehicle condition. We then chose the features that could realistically be built within the time and resources of a student project.
2.2Requirements collected
Before implementation we gathered requirements from three groups: buyers, sellers and administrators (Table 1). Their main needs are summarised in Table I.
2.3Related work and comparison
Information asymmetry is the starting point for most work on used-car markets. Akerlof’s well-known paper [1] points out that when buyers cannot tell how good a car is, people selling good cars find it hard to get a fair price. Marketplaces try to narrow this gap with inspection data and price guidance, which is the role of the health scores, inspection scores and fair-price labels in Horse Power.
Most research on pricing frames it as a matter of prediction. Pudaruth [2] compared four supervised learning methods on historical used-car prices collected from Mauritian newspapers. Gegic et al. [3] combined neural networks, support vector machines and random forests as an ensemble on data from a Bosnian web portal and reported about 87% accuracy on test data. Lin [4] compares linear, ridge and random forest regression on used-car data from CarDekho, and Huang [5] studies UK used-car prices with linear regression, random forest and k-nearest neighbours.
These studies concentrate on how accurately a model predicts price from historical listing data. They do not describe the marketplace around the model, such as seller submission, photograph review and administrator approval. Horse Power takes the opposite approach. Its rule-based formula is not a trained model and is likely to be less accurate in general, but it needs no historical dataset, can be read and adjusted directly, and sits inside a complete buying and selling workflow. Training and evaluating a learned model on real listing data is left for future work.
2.4Choice of tools
We chose the technologies for their fit with the project, their availability and the quality of their documentation. React [6] handles the interface. Refreshes the page when users adjust the filters. Node.js with Express [7] runs the server side and lets JavaScript be used across the layers of the application. PostgreSQL [8] stores users, vehicles, photographs and bookings, and its relational rules keep those records consistent.
| Point of view | Requirements |
|---|---|
| Buyer | Search and filter by price, brand, year, kilometres driven, fuel type, body style, gearbox, colour, safety features, seating capacity and number of owners. View photographs, condition details and indicative pricing. Save and compare vehicles and request a test drive. |
| Seller | Enter vehicle details, obtain an indicative price and upload photographs showing different sides of the vehicle. The photos you upload are only seen by the project team. They stay private until the vehicle is approved. |
| Administrator | Admins can look over submissions and photos. They. Reject requests. They pick which photos go public. They add listings, mark cars as sold, handle bookings and see some numbers. |
3Studies and findings
We focused on five things. First, we set up the database so one vehicle can hold photos. Second, we built filters that work together plus sorting. The third was authentication and security, which uses password hashing [9], signed login tokens (JSON Web Tokens) [10], one-time verification codes and role-based checks. The fourth was a formula that gives a price. The fifth was showing trust details like health scores, inspection scores and fair-price labels. Section V describes the implementation and what we observed in each area.
3.1Project scope and limitations
Horse Power is a student demo project. It is not a marketplace. Here is where the work stops:
- 1. Data. Vehicle details, photos, prices and inspection scores are sample records. The platform does not do sales or take payments.
- 2. Price estimation. The price guide is a formula. It is not a trained machine-learning model. Comparing it to the sample prices shows how the formula acts. It does not prove it is accurate for the wider used-car market.
- 3. Evaluation. The application has only been run locally on one computer. A structured test, a larger user study and documented peer-review results are still pending (see Section V-G).
- 4. Scope. The chatbot searches the vehicle database using chosen criteria. It is not a general-purpose assistant.
The application also has no online payment facility.
3.2System overview
The application serves four kinds of users: visitors, registered users, sellers and administrators. Visitors can browse listings, use filters, compare vehicles, view photos and inspection data, use the EMI and running-cost calculators and search with the chatbot. Registered users can also save vehicles and request test drives. Sellers enter vehicle details, get a price guide and upload photos from the required angles. Admins review submissions and photos,. Reject requests, add listings, mark cars as sold, manage bookings and view basic stats.
3.3Technologies and architecture
The front end uses React. The server side runs on Node.js with Express. PostgreSQL holds the app data. Together these form three layers: presentation, application and database (Figure 1). In a typical request, a React page calls the backend through a shared helper, the route checks the login token and the user’s role, a controller queries the database with parameterised SQL, and the result goes back to the page in a consistent response format.
3.4Modules and integration
We built from the bottom up. The database came first, the server, then the user interface, then the extra features. We defined the database schema first. It covers users, vehicles, vehicle photographs, saved listings, bookings, inspections, seller submissions, private seller photographs and one-time verification codes (the tables are listed in Table V in the Appendix). Sample vehicle records and photographs were then loaded. The Express server came next. Each feature has its own controller, and the routing layer sends every request to the right controller after applying the required authentication or administrator checks.
The React interface came after that. It covers vehicle browsing and details, saved listings, comparison, bookings, vehicle submission, login and admin. A shared app store keeps the signed-in user, saved vehicles, display theme, language and city. Other parts include the chatbot, the EMI and running-cost calculators, inspection reports, a photo gallery, e-mail alerts, terms and privacy pages and support for installing the app. A common frontend helper sends requests to the backend and attaches the login token when needed. The backend sends responses in the format every time. So the pages can handle them the way.
Table 2 lists the dependencies between the main components.
3.5Findings
Database design and filtering. Vehicle details and vehicle photographs are stored in separate tables, so a vehicle can have several photographs without its main details being repeated. Each photo record has a main-photo flag and a display order. Filter settings live in the web address. That makes filtered results easy to share. It also lets the browsers back and forward buttons work as expected. The database does the filtering. The app sends twelve vehicles at a time of the whole collection to the browser.
Layered security. Passwords are stored as bcrypt hashes [9] and never as readable text. After sign-in the server issues a signed JSON Web Token [10], which the frontend helper attaches to later requests. One-time verification codes expire after five minutes, allow at most five attempts and are stored in protected form. Admin permissions are checked on the server, not by frontend limits. Database values are passed separately from the SQL text. That lowers the risk of injection. Uploaded photos are checked for their file content and size, not just their file extension.
Private photo storage. Photos from sellers sit in backend/private. That is outside the public backend/uploads folder. While a submission is under review they can only be reached through an administrator-only route. A photo goes public after the admin approves the vehicle and picks which images to publish.
Price guide. The estimator starts from the new-car price of the model. Then it adjusts for vehicle age, distance travelled, number of owners, fuel type and variant. It runs inside the backend, so no separate service is needed. To report how it acts, we define the error as the absolute percentage error (MAPE) over the n = 66 sample vehicles, where Ei is the estimated price and Si is the stored sample price of vehicle i:
The mean error was 22%. That means an estimate differed from the stored price by a fifth of that price on average, whether higher or lower. The stored prices are demo values, not recorded sale prices. So this figure shows how closely the formula follows the sample set. It should not be read as accuracy on market prices.
Chatbot. The chatbot uses a database-search method. It picks out terms for fuel type, body style, brand, city and budget from the users message. Then it searches the vehicle records with them. So its answers are limited to cars in the app database. It does not give advice or hold open-ended talks.
| Component | Depends on | Provides |
|---|---|---|
| Database | No other application component is present. | Data required by all backend features is available. |
| Backend controllers | Database and helper services support verification codes, e-mail, photographs and price estimation. | Responses and services are provided for the website pages. |
| Website pages | Backend services, shared application store, translations and styles are included. | User-facing application functions are operational. |
| Admin panel | Administrator. Authenticated administrator role exist. | Approved vehicle listings, photographs and booking status are displayed on pages. |
| Mail service or demonstration mode is available. | Verification codes and booking updates are sent to users. |
4Peer review
4.1Test environment and peer review
Horse Power is a software application, so it has no physical hardware, circuits or mechanical parts that would need simulation. Testing was carried out in a software environment, with the frontend, backend and database running together on one computer and loaded with sample records. When no external mail service is configured, the e-mail feature runs in demonstration mode. Shows verification codes on screen. This allowed us to exercise every feature without customer accounts or e-mail addresses.
A formal peer review has not yet been completed. We have prepared a structured test plan for it, given in Table 3. Each participant receives the task list and records, for every task, whether it was completed without help, how long it took and any difficulty met. The completion rate for each task and the list of reported problems will be the outcomes and the observed results will be documented in this table format once testing is done. Participants will also be asked to note anything that seems unclear, slow or incomplete.
| ID | Task | Expected result |
|---|---|---|
| T1 | Create an account and sign in and out | Verification code is accepted; user signs in and out |
| T2 | Filter and sort vehicles on Buy Cars | Results update to match the filters and sort order |
| T3 | Save two vehicles and compare them | Both vehicles appear in the saved list and comparison |
| T4 | Request a test drive | Booking is stored with a status and shown to the administrator |
| T5 | Submit a vehicle with photographs on Sell Car | Submission is stored for review; photographs are not public |
| T6 | Approve a submission and select photographs | Listing appears publicly with only the selected photographs |
| T7 | Search through the chatbot by fuel type and budget | matching cars from the database |
| T8 | Use the EMI calculator | An estimated EMI is shown for the entered values |
5Improvements following reviewer comments
5.1Development method
Development moved from the database to the backend, then the frontend and supporting features, and several changes were made along the way. The vehicle-browsing page gained a filter sidebar, removable filter tags and a mobile-friendly filter panel. The vehicle-submission page became a step-by-step form that shows a price. Sellers upload photos for each required angle. These stay private until an admin selects them for publication. Terms and Privacy pages came in three languages, with a notice during login and registration. The admin panel was also updated to show whether booking e-mails were sent and, when delivery failed, the reason.
Finally, we added a startup database check that applies missing schema updates, which avoids errors when an older database is used. These changes came out of the development process. They are not outcomes of peer review, which has not happened yet.
| Problem | Identified cause | Implemented solution |
|---|---|---|
| A "Server error" appears when booking a test drive. | An older database did not contain the booking columns. | The backend checks for missing columns. Adds them during startup. |
| A "Failed to fetch" message appears on the website. | The backend server was not. Had not completed startup. | The server now begins listening before the database check is run. |
| Booking e-mail was not sent. | The mail server rejected the login because an application password was required. | The administrator panel now displays the delivery result and the reason for a failure. |
| Price estimate was unavailable | The planned external price-model service had not been implemented. | The estimator was integrated into the backend so it can run without a service. |
| Seller photographs were accessible through a link. | All photographs were initially stored in a served folder. | Seller photographs were moved to storage and made accessible through an administrator-only route. |
5.2Problems encountered
Table 4 summarises the main problems we met during development, their causes and the solutions we implemented. Some of these led to lasting changes in the application: the startup database check, e-mail delivery status in the administrator panel and the separation of private seller photographs from public vehicle images.
6Conclusion
Horse Power demonstrates that a small team can build a marketplace using freely available technologies. The application brings vehicle search, comparison, seller submissions, indicative pricing and administrator approval together on one platform, forming an used-car marketplace. Its relational database structure, server-side role checks and private storage for seller photographs give it a base that can be extended. The results must be read with the limitations in mind: the records are sample data, the price guide is a formula and not a trained machine-learning model, online payments are not supported and evaluation has been limited to use. A formal test programme and a larger user study are still needed.
Future Scope. Further work could evaluate a price-prediction model on real listing data, add 360-degree vehicle views if suitable support becomes available, integrate online payments for bookings and connect buyers with loan providers. Other possible additions include checks, SMS or WhatsApp notifications, user reviews and ratings and dedicated mobile apps. The structured peer review and formal testing described in Section V-G should also be carried out and their findings documented.
Appendix
Table 5 lists the database tables that the application uses. The source code is organised into folders: frontend/src holds the website pages and components; backend/src holds the server, routes, controllers, security checks and helper functions; backend/database stores table definitions, sample records and upgrade scripts; backend/uploads and backend/private hold public vehicle photographs and private seller photographs; and ml-service is set aside for a possible future price-prediction model. Instructions for installing and running the application are provided in the supplementary material that accompanies this paper.
| Table | Purpose |
|---|---|
| users | Stores user accounts, roles, profile details and e-mail verification status. |
| cars | Stores one record for each vehicle, including its details, price, status, health score, seating capacity and safety features. |
| car_images | Stores public vehicle photographs, with a main-photo indicator and a display order. |
| saved_cars | Records the vehicles saved by each user. |
| bookings | Stores test-drive requests and the current status of each request. |
| inspections | Stores the eight condition scores recorded for each vehicle. |
| sell_requests | Stores vehicle submissions waiting for administrator review. |
| sell_request_images | Stores private seller photographs, with one record for each specified angle. |
| otp_codes | Stores protected one-time verification codes. |
Acknowledgments
We would like to thank our project guide, Ms. Pragati Chiknis, for her constant support, guidance and encouragement throughout this capstone project. Her suggestions and advice kept us on track. Helped us complete our work with confidence.
We are also grateful to the Head of the Department of Computer Science & Engineering and to Sanjay Ghodawat Institute for providing the facilities, resources and supportive environment we needed to carry out this project.
Thanks also go to our classmates, who tried the application informally and shared their suggestions and to our families, for their patience and encouragement.
References
- [1]Akerlof GA. The market for ‘lemons’: Quality uncertainty and the market mechanism. Quarterly Journal of Economics. 1970;84(3):488–500.
- [2]Pudaruth S. Predicting the price of used cars using machine learning techniques. International Journal of Information and Computation Technology. 2014;4(7):753–764.
- [3]Gegic E, Isakovic B, Keco D, Masetic Z, Kevric J. Car price prediction using machine learning techniques. TEM Journal. 2019;8(1):113–118.
- [4]Lin J. Predicting used car price based on machine learning. In: Proceedings of the 1st International Conference on E-commerce and Artificial Intelligence (ECAI); 2024. p. 553–560. https://doi.org/10.5220/0013270500004568
- [5]Huang D. Predicted used car price in the UK using linear regression and machine learning models. SciTePress; 2025. p. 534–540. https://doi.org/10.5220/0013829000004708
- [6]Meta Platforms, Inc. React documentation [Internet]. https://react.dev
- [7]OpenJS Foundation. Express: Fast, unopinionated, minimalist web framework for Node.js [Internet]. https://expressjs.com
- [8]The PostgreSQL Global Development Group. PostgreSQL documentation [Internet]. https://www.postgresql.org/docs/
- [9]Provos N, Mazières D. A future-adaptable password scheme. In: Proceedings of the USENIX Annual Technical Conference; 1999.
- [10]Jones M, Bradley J, Sakimura N. JSON Web Token (JWT). RFC 7519. Internet Engineering Task Force; 2015.