EMU Book Exchange

Campus marketplace connecting students for book sales and swaps.

Tools Used

Frontend

Next.js (React) TypeScript Tailwind CSS

Backend

Next.js API Routes Node.js

Database

MongoDB Mongoose

Version Control

Git GitHub

IDE & Package Manager

VS Code npm/pnpm

Design

Figma

Main Modules

01

📚 Book Management Module

  • Users can create, edit, and cancel book listings.
  • Includes setting price, condition, type, page number, description & uploading photos.
02

🔎 Search & Filter Module

  • Search and filter by type, price, page count, or alphabetical order.
  • Includes book comparison feature.
03

💬 Messaging Module

  • Real-time messaging between users.
  • Send/receive text, photos, location; block users.
04

👤 Account Management Module

  • Account creation, login/logout, email verification.
  • Update profile info (photo, password, phone, location).
05

🛒 Purchase/Trade Module

  • Make offers; confirm/cancel trade or purchase.
  • Wishlist management; rate the seller.
06

🛡️ Admin Module

  • Ban users; manage accounts and ratings.
  • Monitor reports and complaints.

Algorithms Used

  • Average Rating Calculation: Calculates average user rating by summing all rating values and dividing by count.
  • Book Filtering Algorithm: Filters books by selected criteria (status, condition, price range) and returns only matches.