DEV Community

Sayuri Kotikawaththa
Sayuri Kotikawaththa

Posted on

BookBridge Sri Lanka πŸ‡±πŸ‡°

πŸ“š BookBridge Sri Lanka – A Second-Hand Book Exchange Platform for Uni Students πŸ‡±πŸ‡°

Hey devs! πŸ‘‹

I’ve been working on a project called BookBridge Sri Lanka – a web platform designed to help university students buy, sell, or exchange used textbooks and reference books at affordable prices.

The GitHub repo is currently private, but I wanted to share what I've built and get your feedback. After finishing the project, I decided to make it public.

🎯 The Problem It Solves

In Sri Lanka, university reference books can cost anywhere from LKR 1,500 to 8,000+. Right now, students rely on chaotic WhatsApp groups to find books.

BookBridge provides a dedicated, trusted, and organized marketplace just for students.

✨ Key Features

  • πŸ‘€ User registration & login
  • πŸ“š Post books for sale / exchange
  • πŸ” Search & filter books by category, price, or condition
  • πŸ’¬ In-platform messaging between buyers & sellers
  • ⭐ Seller reviews & ratings
  • πŸ”– Wishlist to save books
  • πŸ›‘οΈ Admin dashboard for moderation
  • πŸ“± Fully mobile responsive

πŸ› οΈ Built With

  • Frontend: HTML5, CSS3, JavaScript, Bootstrap 5
  • Backend: PHP 8.x
  • Database: MySQL 8.x
  • Tools: XAMPP/WAMP, VS Code, Git

πŸš€ How It Works (Local Setup)

  1. Clone the repo (private, but I can share structure below)
  2. Move to C:\wamp64\www\bookbridge\
  3. Import database/bookbridge_db.sqlvia phpMyAdmin
  4. Update includes/db.php with your DB credentials
  5. Run http://localhost/bookbridge/

πŸ“ Quick Project Structure

bookbridge/
β”œβ”€β”€ admin/ β†’ Dashboard, manage users & books
β”œβ”€β”€ assets/ β†’ CSS, JS, images
β”œβ”€β”€ database/ β†’ SQL export
β”œβ”€β”€ includes/ β†’ Header, footer, DB connection, auth check
β”œβ”€β”€ uploads/ β†’ Book cover images
β”œβ”€β”€ index.php β†’ Homepage
β”œβ”€β”€ register.php β†’ Registration
β”œβ”€β”€ login.php β†’ Login
β”œβ”€β”€ listings.php β†’ Browse books
β”œβ”€β”€ post-book.php β†’ Add new book
β”œβ”€β”€ messages.php β†’ Messaging system
β”œβ”€β”€ wishlist.php β†’ Saved books
β”œβ”€β”€ review.php β†’ Ratings & reviews
└── ...

πŸ‘©β€πŸ’» About Me

Sayuri Kotikawaththa
2nd Year, Web Programming @ BCI Campus, Negombo, Sri Lanka
πŸ“§ annsayu12@gmail.com

❓ Feedback I’d Love From You

  • How can I improve the user experience for buyers & sellers?
  • Any security or performance tips for a PHP + MySQL student project?
  • Would you use something like this as a student? Why or why not?

Thanks for reading! πŸ™Œ

If you’d like to see the code or collaborate, drop a comment or DM me – happy to grant access to serious contributors.

Top comments (0)