Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanvik-hub/lost-and-found-backend
The backend for the Lost and Found website provides the core server-side functionality to support user authentication, item management, and efficient communication with the database. It is built using the following technologies: Node.js and Express.js: Used for creating a RESTful API to handle requests like user registration, login, posting items,
https://github.com/tanvik-hub/lost-and-found-backend
cors expressjs mongodb mongoose nodejs
Last synced: about 6 hours ago
JSON representation
The backend for the Lost and Found website provides the core server-side functionality to support user authentication, item management, and efficient communication with the database. It is built using the following technologies: Node.js and Express.js: Used for creating a RESTful API to handle requests like user registration, login, posting items,
- Host: GitHub
- URL: https://github.com/tanvik-hub/lost-and-found-backend
- Owner: Tanvik-hub
- Created: 2024-12-09T11:06:44.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-01-31T05:30:30.000Z (14 days ago)
- Last Synced: 2025-01-31T06:24:10.675Z (14 days ago)
- Topics: cors, expressjs, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage: https://landf25.netlify.app/
- Size: 1.94 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🛠️ Lost and Found Backend
Backend for the **Lost and Found Website** built with the MERN stack. This project provides APIs to manage user authentication, posting, and searching lost or found items efficiently. Designed to streamline communication between finders and owners in a secure and scalable manner.
---
## 🚀 Features
- 🔐 **Secure User Authentication**: Password hashing with bcrypt.js.
- 📋 **Post Lost/Found Items**: Allows users to post details and images of lost or found items.
- 📂 **Categorized Data Management**: Organizes items into user-friendly categories for efficient navigation.
- 📧 **Contact Integration**: Enables direct communication between finders and owners.---
## 🛑 API Endpoints
| **Endpoint** | **Method** | **Description** |
|-----------------------------|------------|-------------------------------------------|
| `/api/auth/register` | `POST` | Registers a new user. |
| `/api/auth/login` | `POST` | Logs in an existing user. |
| `/api/items/post` | `POST` | Posts a new lost or found item. |
| `/api/items/search` | `GET` | Searches items based on filters. |
| `/api/items/:id` | `GET` | Fetches details of a specific item. |
| `/api/user/profile` | `GET` | Fetches user details and activity. |---
## 🛠️ Tech Stack
- **Node.js**: Backend runtime.
- **Express.js**: Framework for building RESTful APIs.
- **MongoDB**: NoSQL database for data storage.
- **Mongoose**: Schema-based modeling for MongoDB.
- **bcrypt.js**: For secure password hashing.---
GOAL=BUILT THIS FOR COLLEGE PURPOSE.