CarFlip – Vehicle Listing Platform

Home CarFlip – Vehicle Listing Platform

Status

Type

Collaboration Project

Duration

2 Months & 2 Weeks

Project Overview

CarFlip LK is a full-featured vehicle marketplace web application designed to connect vehicle dealers and individual sellers with potential buyers in a trusted, scalable, and user-friendly environment.

The platform allows users to list vehicles, promote them using paid advertisement plans, communicate via real-time chat, and verify sellers to improve buyer trust. all while being optimized for performance and affordability in the Sri Lankan market.

This project was built as a custom PHP web application without using any major backend frameworks, focusing on performance, flexibility, and full control over the system architecture.

Project Scope

1. User registration & role-based access (Admin / Dealer / User).

2. Vehicle listing creation and management.

3. Media uploads (images & videos).

4. Listing insights (views, clicks, bookmarks, shares).

5. Featured listings and paid advertisements.

6. Seller verification workflow.

7. Real-time chat between buyers and dealers.

8. Reporting system for suspicious listings.

9. Multilingual support (English, Sinhala, Tamil).

10. Admin moderation & content management.

11. Homepage hero slider management.

12. Notification system.

Journey

The idea for CarFlip LK originated from observing how buyers struggle to trust listings and how sellers are forced to overpay for visibility on existing platforms.

Instead of building a generic classifieds website, the goal was to design a trust-first vehicle marketplace, where:

- Sellers can prove legitimacy.
- Buyers can communicate instantly.
- Promotions are transparent and fairly priced.

The biggest challenge was building everything without a framework, which required:

- Careful database normalization.
- Secure authentication handling.
- Custom real-time chat logic.
- Manual CI/CD deployment planning.

Despite these challenges, this approach resulted in a lean, fast, and highly customizable system.

Key Features

User & Dealer Management

1. Role-based access (Admin, Dealer, User)

2. Dealer profile verification

3. Secure authentication with password hashing

4. Optional 2FA support

Vehicle Listings

1. Detailed vehicle attributes (make, model, year, mileage, condition)

2. Media gallery with cover image selection

3. Listing statuses (Active, Hold, Sold, Rejected)

4. Insights tracking (views, clicks, shares)

Real-Time Chat System

1. Listing-based conversations

2. First-message auto-includes listing details

3. AJAX polling for near real-time updates

4. Read/unread message tracking

Advertisements & Promotions

1. Configurable ad plans with duration & pricing

2. Featured listings

3. Boost & top-list options

4. Expiry-based activation logic

Trust & Moderation

1. Seller verification workflow

2. Listing reporting system

3. Admin review and response tracking

4. Evidence attachment support

Multilingual Support

1. English, Sinhala, and Tamil language support

2. Unicode-based translations

3. User-specific language preferences

Technology Stack

Frontend

1. HTML5

2. Tailwind CSS

3. Vanilla JavaScript (AJAX)

Backend

1. PHP (Custom MVC architecture)

2. Composer (dependency management)

Database

1. MySQL

Infrastructure

1. FastPanel server control panel

2. PHP-FPM

3. GitHub version control

CI/CD

1. GitHub Actions

Challenges & Lessons

Challenges

1. Building real-time chat without WebSockets

2. Managing deployments without downtime

3. Designing scalable database relationships (AJAX)

4. Avoiding over-engineering while future-proofing

Lessons

1. Deep understanding of PHP internals

2. Clean MySQL schema design

3. Real-world CI/CD workflows

4. Performance-first thinking

5. Building production systems without frameworks

Gallery

The End...