Skip to content

Latest commit

Β 

History

History
129 lines (101 loc) Β· 3.34 KB

File metadata and controls

129 lines (101 loc) Β· 3.34 KB

🧩 Lost & Found Web Application

A MERN stack web application designed to help users report, find, and recover lost or found items within a specific campus.
This platform creates a centralized place where students and staff can reconnect with their belongings securely and efficiently.


πŸš€ Features

βœ… User Authentication β€” Secure sign-up and login using JWT tokens.
βœ… Post Lost & Found Items β€” Users can upload item details and images.
βœ… Browse Items β€” Easily search and explore all reported items.
βœ… My Listings β€” View and manage items posted by the logged-in user.
βœ… Pagination Support β€” Smooth browsing experience across multiple pages.
βœ… Campus-Specific Platform β€” Only valid for users and activities within the campus (not a public/global platform).
βœ… Responsive UI β€” Built with Material UI and Framer Motion for a clean and modern look.
βœ… Logout & Session Handling β€” Automatic session management with secure logout.


πŸ› οΈ Tech Stack

Layer Technologies Used
Frontend React.js, Material UI (MUI), Framer Motion
Backend Node.js, Express.js
Database MongoDB
Other Tools Axios, Nodemon, JWT Authentication

βš™οΈ Installation & Setup

  1. Clone the repository

    git clone https://github.com/levi178u/Web-Dev-Assignment
    cd Web-Dev-Assignment
  2. Install dependencies

    npm install
    cd client
    npm install
  3. Create .env file in the root directory
    Add the following environment variables:

    MONGO_URL=your_mongodb_connection_string
    JWT_SECRET=your_jwt_secret
    PORT=4000
  4. Start the development server

    npm run dev

    The server will start at http://localhost:4000.

  5. Start the frontend

    cd client
    npm start

    The frontend will start at http://localhost:3000.


🧠 Folder Structure

lost-and-found-campus/
β”‚
β”œβ”€β”€ server/
β”‚   β”œβ”€β”€ app.js
β”‚   β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ controllers/
β”‚   β”œβ”€β”€ middlewares/
β”‚   └── .env
β”‚
β”œβ”€β”€ client/
β”‚   β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ img/
β”‚   β”‚   β”œβ”€β”€ styles/
β”‚   β”‚   β”œβ”€β”€ app.js
β”‚   β”‚   └── index.js
β”‚   β”‚   └── index.css
β”‚   β”‚   └── constraints.js
β”‚   β”‚   └── firebase.js
β”‚   β”‚   └── layout.js
β”‚   β”œβ”€β”€ .env
β”‚   └── package.json
β”‚
β”œβ”€β”€ .gitignore
β”œβ”€β”€ README.md

πŸ’‘ Key Points

  • This application is restricted to a specific campus β€” only registered campus users can post or view items.
  • The system ensures data privacy and safe item exchange between legitimate users.
  • Admin moderation can be added to verify posts and avoid spam.

πŸ“Έ UI Highlights

  • Modern navbar and footer with glassmorphism design.
  • Smooth animations using Framer Motion.
  • Intuitive item cards for quick browsing.
  • Fully responsive on mobile and desktop devices.

🧾 Project Assignment By:

  • Amlan Prateek Panda (123CS0200)
  • Anshuman Panda (123CS0201)
  • Soubhagya Sahoo (123CS0218)
  • Priyabrata Sahu (123CS0220)
  • Santoshi (123CS0223)