https://github.com/apolo-itnet/losttrace-client
Lost Trace is a full-stack Lost & Found web application where users can report, search, and recover lost or found items. It offers secure authentication, protected routes, recovery workflow, and real-time feedback through a responsive modern UI.
https://github.com/apolo-itnet/losttrace-client
axios-react expressjs firebase-auth framer-motion mongodb nodejs react-router reactjs tailwindcss
Last synced: 2 months ago
JSON representation
Lost Trace is a full-stack Lost & Found web application where users can report, search, and recover lost or found items. It offers secure authentication, protected routes, recovery workflow, and real-time feedback through a responsive modern UI.
- Host: GitHub
- URL: https://github.com/apolo-itnet/losttrace-client
- Owner: apolo-itnet
- Created: 2025-06-25T11:02:54.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-08-09T03:39:24.000Z (11 months ago)
- Last Synced: 2025-08-09T05:33:13.297Z (11 months ago)
- Topics: axios-react, expressjs, firebase-auth, framer-motion, mongodb, nodejs, react-router, reactjs, tailwindcss
- Language: JavaScript
- Homepage: https://lost-trace.web.app
- Size: 223 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π LOST & TRACE β Lost and Found Item Tracker
LOST & TRACE is a full-stack web application that connects people who have lost something with those whoβve found items. Itβs built to streamline the process of recovering lost belongings through a simple and secure platform.
---
## π Live Links
π **Live Website**: https://lost-trace.web.app
π **Client GitHub**: https://github.com/apolo-itnet/LostTrace-Client
π **Server GitHub**: https://github.com/apolo-itnet/LostTrace-Server
---
## π§ͺ How to Run Locally
> Prerequisites: Node.js, MongoDB, npm/yarn
### 1. Clone the Client
```bash
git clone https://github.com/your-username/lost-trace-client.git
cd lost-trace-client
npm install
npm run dev
```
### 2. Clone the Server
```
git clone https://github.com/your-username/lost-trace-server.git
cd lost-trace-server
npm install
npm start
```
### 3. Environment Variables
**Client .env**
```
VITE_API_URL=http://localhost:5000
VITE_FIREBASE_API_KEY=your_firebase_key
VITE_FIREBASE_AUTH_DOMAIN=your_app.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_APP_ID=your_app_id
```
**Server .env**
```
PORT=5000
MONGODB_URI=mongodb+srv://:@cluster.mongodb.net/losttraceDB
JWT_SECRET=your_secret_key
```
## π Tech Stack
### Frontend:
- React.js
- Tailwind CSS + DaisyUI
- React Router
- AOS, Framer Motion
- React Icons, SweetAlert2, React Toastify
- Firebase Authentication
- Vite, Netlify Hosting
### Backend:
- Node.js, Express.js
- MongoDB (Mongoose)
- JWT & Cookie Authentication
- Dotenv, CORS, Helmet
- Vercel Hosting
---
## π― Project Purpose
The goal of this project is to provide a user-friendly platform for reporting and finding lost items. It includes authentication, protected routes, CRUD functionality, and real-time updates, offering a complete MERN stack experience.
---
## π‘ Key Features
- π **Firebase Authentication** (Email/Password & Google Login)
- π§ **JWT Authorization** for private route protection
- π **Dynamic Page Titles** per route
- π **Fully Responsive** for mobile, tablet, and desktop
- π¬ **Toast & SweetAlert** notifications
- ποΈ **Lost & Found Item Categorization**
- π¨ **Framer Motion Animations**
- π **Search Functionality** on All Items page
- βοΈ **Item Update & Delete** with confirmation modal
- π **View Items in Card/Table Layout Toggle**
---
## π§° Technologies & Packages Used
### βοΈ Frontend (React + Vite + Tailwind CSS)
- `React Router`
- `Firebase`
- `Framer Motion`
- `React DatePicker`
- `Axios`
- `React Icons`
- `AOS`
- `SwiperJS`
- `SweetAlert2`
- `Tailwind CSS` + `DaisyUI`
### π₯οΈ Backend (Node.js + Express + MongoDB)
- `Cors`
- `JWT`
- `Dotenv`
- `MongoDB`
- `Express.js`
---
### π§βπ» Pages & Routes
| Route | Description | Protected |
| ------------------------- | ---------------------------------- | --------- |
| `/` | Home page | β |
| `/login`, `/register` | Auth pages | β |
| `/add-lost`, `/add-found` | Add item | β
|
| `/my-posts` | View/manage your listings | β
|
| `/details/:id` | Post detail view with claim option | β
|
| `/feedback` | Submit feedback | β
|
---
### π§Ύ CRUD Functionalities
- β
Create: Add new lost/found posts
- β
Read: View all posts & details
- β
Update: Edit your own listings
- β
Delete: Remove your item posts
---
### π‘οΈ Security
- π **Firebase & MongoDB credentials secured** via `.env` variables.
- π **JWT token** used to protect private routes and validate user identity.
---
## π Deployment
- β
Live hosted on **Vercel / Netlify** (Client) and **Render / Cyclic** (Server)
- π οΈ Server & Client error-handled (No 404, 504, CORS errors)
- β οΈ Private routes persist login on reload
- π Firebase domain authorized for the production domain
---
## β
Bonus Features
- β
Dynamic layout toggle on `/allRecovered`
- β
Extra Feature: Feedback System / Rating Component
- β
UI Enhanced with Framer Motion, AOS, and Tailwind Utilities
---
## πΈ Screenshots
> Include screenshots here if needed
> 
> 
> 
---
### π‘ Inspiration
"Lost Trace" was inspired by the everyday need for a digital Lost & Found system.
Whether someone loses a wallet, mobile, or pet β this platform aims to connect honest finders with those desperately looking for what they lost.
---
### π¬ Submission
This project was submitted as Assignment-11 in the MERN Stack Developer Program.
---
### π¨βπ» Developer Info
**Apolo Barua Apurbo**
πΌ MERN Stack Web Developer
π§ **Email**: apolo.itnet@gmail.com
π **Location**: Bangladesh