Currently hosted on Netlify - Link
Authors:
The Lost Hub Backend is an essential component of the LostHub application, designed to efficiently manage the reporting and tracking of lost and found items. With an aim to streamline the process of reconnecting people with their lost belongings, LostHub offers a user-friendly and comprehensive platform for users to report lost items, discover found items, and communicate with finders. This project is not just a technical solution but also a community service initiative to reduce the stress and impact of losing personal items.
To get the LostHub server up and running on your machine, follow these instructions:
- Clone the Repository: git clone https://github.com/your-username/losthub-server.git
- Navigate to the Project Directory: cd lost-hub-backend
- Install Dependencies: Run npm installto install the required dependencies.
- Set Up MongoDB Database:
- Create a MongoDB database.
- Acquire the connection URI.
 
- Configure Environment Variables:
- Rename the .env.samplefile to.env.
- Update MONGO_DB in the .envfile with mongoDB URI.
- Update GCS_BUCKET in the .envfile with Google Cloud Storage Bucket.
- Update PORT in the .envfile with a PORT number or3001.
- Update JKWS_URI in the .envfile with JSON Web Key Set from Auth0.
 
- Rename the 
- Launch the Express Server: Run npm startornpm run dev.
- Access the Application: Open your web browser and go to the provided URL (typically http://localhost:3001).
LostHub is structured using the MERN stack:
- Back-end: Managed by an Express server, which handles HTTP requests and communicates with the MongoDB database and Google Cloud.
- Database: Utilizes MongoDB to keep track of items, including descriptions, locations, image URLs, and types (lost or found).
LostHub is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.
For any issues or questions, please open a new issue on GitHub. We appreciate your feedback!
Special thanks to:
- Jacob Knaack
- ChatGPT
- Bard
- Slidesgo

