Muhammad Rafi Arsya
Back to All Projects
Full Stack · Self-Development · Ongoing · 2026

CampusBay

A peer-to-peer student marketplace for Universiti Malaya — verified, campus-safe. Real-time chat, Stripe payments, COD scheduling, flash sales, and more. Still actively developing.

Marketplace Full Stack React + Vite Node.js + Express PostgreSQL Docker Self-Hosted
Actively developing & self-hosted — Solo self-development project. New features ship regularly on a Linux mini PC running 24/7.
Status
In Development
Year
2026
Role
Solo Developer
Platform
Web
Overview

CampusBay is a campus-exclusive peer-to-peer marketplace I'm building for University of Malaya students — entirely solo, as a self-development project. A trusted, verified space to buy and sell textbooks, electronics, hostel furniture, and more within the UM community.

Registration is gated to @siswa.um.edu.my and @um.edu.my email addresses, verified via OTP — every user is a real UM student, eliminating scammers common on Carousell or Facebook Marketplace.

The stack is production-grade: React 18 + Vite frontend, Node.js + Express backend, PostgreSQL + Redis for data and caching, Socket.io for real-time features, and Stripe for payments — containerised with Docker Compose and self-hosted on a Linux mini PC.

Key Features
UM Email Verification + OTP
Registration gated to @siswa.um.edu.my accounts. 6-digit OTP via email, stored in Redis with TTL. Unverified accounts can't transact.
Real-Time Chat
Socket.io-powered buyer–seller messaging with typing indicators, read receipts, and push notifications when the recipient is offline.
Stripe Payment + COD Scheduling
Full Stripe Checkout integration (MYR) with webhook-driven order fulfillment and atomic stock decrement. COD via in-app meetup scheduler.
Flash Sales & Vouchers
Sellers can create time-bounded flash sales with discounted pricing. Buyer-redeemable vouchers with usage limits and expiry.
Wishlist, Reviews & Seller Follows
Buyers can wishlist items and follow sellers. Product ratings and reviews. Notification bell for live updates across all activity.
Admin Dashboard
Platform-wide analytics, user management, product moderation. Role-based access: buyer, seller, admin.
Architecture Overview
React 18 + Vite + Tailwind CSS
SPA · Zustand · TanStack Query
Node.js + Express REST API
15+ route modules · JWT auth · Zod validation
PostgreSQL 16 + Redis 7
Sequelize ORM · OTP/session cache
Socket.io
Real-time chat · order tracking · notifications
Stripe
Checkout sessions · webhook fulfillment · MYR
Docker Compose + nginx
5-container stack · self-hosted Linux mini PC
Development Timeline
1
Early 2026
Foundation
React + Express scaffold, JWT auth, OTP email verification, PostgreSQL schema design, Docker Compose setup.
2
Mid 2026
Core Commerce
Product listings, shopping cart, Stripe payment integration with webhook, COD meetup scheduler, order management.
3
Mid 2026
Real-Time + Social
Socket.io chat, typing indicators, read receipts, notification bell, wishlist, seller follows, reviews, flash sales, vouchers.
4
Upcoming
Polish & Growth
Payment analytics, seller tiers, campus meetup map, mobile PWA, onboarding flow, public launch to UM students.
Build Progress
In Development
Auth + OTP100%
Core Marketplace100%
Stripe + COD100%
Real-Time Chat100%
Flash Sales + Vouchers100%
Public Launch~60%
Tech Stack
React 18 Vite Tailwind Zustand Node.js Express PostgreSQL Redis Sequelize Socket.io Stripe Docker nginx Nodemailer
By the Numbers
15+
API Route Modules
5
Docker Containers
9
DB Models
24/7
Self-Hosted
A self-development project, built from scratch.
Every line of code — from the Docker Compose stack to the Stripe webhook — written solo. CampusBay is where I apply and stretch everything I learn, shipping real features to a real domain.
Visit campusbay.store