Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

65 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CampusTrace πŸŽ’

CampusTrace is a modern, high-end, full-stack Lost & Found web application tailored for educational campuses. Built using the MERN stack (MongoDB, Express, React, Node.js), it connects students who have lost personal belongings with finders or administrators who have retrieved them.


🌟 Key Features

For Students

  • Report Lost Items: Submit detailed reports of lost belongings, including category, description, last-seen location, date, and image uploads.
  • Report Found Items: Share details of items found on campus to help find their rightful owners.
  • Claim Management: Submit claims for found items with verified descriptions, proof of ownership, and Student ID verification.
  • Personal Dashboard: Track submitted lost items, found items, and claim requests in a centralized view.

For Administrators

  • Centralized Claim Processing: Approve, reject, or mark claims as returned.
  • Unified Metrics: Real-time admin dashboard tracking total lost reports, active claims, resolved items, and system statistics.
  • User Management: Monitor campus users and enforce security rules.

Premium Design & UX

  • High-End Glassmorphic Styling: Sleek UI designed with Outfit typography, custom scrollbars, and dynamic blurred background overlays.
  • Dual-Theme Support: Instant transitions between sophisticated light and dark modes with customized HSL color systems.
  • Dedicated About Page: Showcases app details and developer portfolios (Email, LinkedIn, GitHub) using interactive, clean SVG buttons.

πŸ› οΈ Technology Stack

  • Frontend: React (Vite), React Router (v7), Context API (Auth & Theme), Vanilla CSS.
  • Backend: Node.js, Express, MongoDB, Mongoose ODM.
  • File Uploads: Multer, Cloudinary (Direct image streaming, scaling, and quality compression).
  • Security & Auth: JSON Web Tokens (JWT), role-based middleware (protect, isAdmin), and bcrypt password hashing.

πŸ“ Repository Structure

CampusTrace/
β”œβ”€β”€ client/                 # React SPA (Vite)
β”‚   β”œβ”€β”€ public/             # Static icons and assets
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ assets/         # App logos and illustrations
β”‚   β”‚   β”œβ”€β”€ components/     # Reusable UI components (GlassCard, ItemCard, etc.)
β”‚   β”‚   β”œβ”€β”€ context/        # Auth & Theme state providers
β”‚   β”‚   β”œβ”€β”€ pages/          # Main application views (Dashboard, Admin panel, etc.)
β”‚   β”‚   β”œβ”€β”€ services/       # API integrations with backend services
β”‚   β”‚   β”œβ”€β”€ App.jsx         # App router and layouts
β”‚   β”‚   └── index.css       # Core stylesheets and variables
β”œβ”€β”€ config/                 # Database configuration
β”œβ”€β”€ controllers/            # Request handlers & business logic
β”œβ”€β”€ middleware/             # Authentication & media upload guards
β”œβ”€β”€ models/                 # Mongoose schemas (User, LostItem, FoundItem, Claim)
β”œβ”€β”€ routes/                 # API endpoints
β”œβ”€β”€ server.js               # Node.js Express server entrypoint
└── package.json            # Node.js project configuration

πŸš€ Getting Started

Prerequisites

1. Server Configuration

Clone the repository, navigate to the root directory, and install backend dependencies:

npm install

Create a .env file in the root folder using .env.example as a template:

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_token
CLOUDINARY_CLOUD_NAME=your_cloudinary_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
CLIENT_URL=http://localhost:5173

Start the backend server in development mode:

npm run dev

The server will run on http://localhost:5000.

2. Client Configuration

Open a new terminal window, navigate to the client/ folder, and install dependencies:

cd client
npm install

Start the Vite development server:

npm run dev

The client app will open on http://localhost:5173.


πŸ“„ License

This project is licensed under the MIT License.

Copyright (c) 2026 Isula Mihisara (MihisaraNet). All rights reserved.

About

πŸŽ’ A premium MERN stack Lost & Found web application designed for campus communities. Features secure JWT authentication, direct Cloudinary image uploads, claim verification, an admin mediation hub, and a sleek glassmorphic UI with dual-theme support.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages