Welcome to the documentation for our car listing application, built during Bath Hack 2025. This application scrapes car listing websites, enriches the data with vehicle details and MOT history, and presents it in a modern, sleek web interface.
- Architecture Overview - High-level system architecture
- Database Schema - Database design and relationships
- Backend Architecture - Rails API and background processing
- Frontend Architecture - React application structure
- API Documentation - REST API endpoints and usage
- Scraping Strategy - Approach to collecting car listing data
- Hackathon Roadmap - 24-hour development plan
Our car listing application provides the following key features:
-
Comprehensive Car Listings
- Data aggregated from multiple sources
- Detailed vehicle specifications
- High-quality images
- Pricing information
-
Advanced Search and Filtering
- Search by make, model, year, price
- Filter by vehicle attributes (fuel type, transmission, etc.)
- Sort by relevance, price, age
-
MOT History Integration
- Complete MOT test history
- Failure points and advisories
- Mileage progression
-
Modern User Interface
- Responsive design for all devices
- Fast, intuitive navigation
- Clean, information-dense layouts
- Backend: Ruby on Rails, PostgreSQL, Redis, Sidekiq
- Frontend: React, TypeScript, TailwindCSS
- Infrastructure: Docker (optional for development)
For information on setting up the development environment, see:
- Backend setup instructions in the
backend/README.mdfile - Frontend setup instructions in the
frontend/README.mdfile (when implemented)
project/
├── backend/ # Rails API application
├── frontend/ # React frontend application (to be implemented)
└── docs/ # Project documentation
├── architecture-overview.md
├── database-schema.md
├── backend-architecture.md
├── frontend-architecture.md
├── api-documentation.md
├── scraping-strategy.md
├── hackathon-roadmap.md
└── README.md # This file
As this is a hackathon project, we're focused on rapid development within the 24-hour timeframe. The documentation provides a blueprint for implementation, but certain aspects may evolve during development.
Beyond the hackathon, we've identified several potential enhancements:
- User accounts and saved searches
- Price drop alerts
- Vehicle comparison tools
- Mobile applications
- Dealer contact integration
This project is created for Bath Hack 2025 and is not currently licensed for production use.
Always check your current directory before running commands to avoid confusion between frontend and backend:
# Check your current directory
pwd
# For backend commands, ensure you're in the backend directory
cd backend
bundle exec rails ...
# For frontend commands, ensure you're in the frontend directory
cd frontend
npm run ...This project is separated into frontend and backend directories, and commands intended for one will not work in the other. Taking a moment to verify your location can save troubleshooting time.