https://github.com/muhdhanish/give_gobble_server
Give and Gobble is a powerful food donation app that aims to bridge the gap between food surplus and those in need. Made with node,express,mongodb and typescript.
https://github.com/muhdhanish/give_gobble_server
chat clean-architecture donation-campaign expressjs flutter javascript mongodb mongoose nodejs rest-api socket-io typescript
Last synced: 10 months ago
JSON representation
Give and Gobble is a powerful food donation app that aims to bridge the gap between food surplus and those in need. Made with node,express,mongodb and typescript.
- Host: GitHub
- URL: https://github.com/muhdhanish/give_gobble_server
- Owner: MuhdHanish
- Created: 2023-07-10T05:13:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-12T12:43:52.000Z (over 2 years ago)
- Last Synced: 2025-06-20T23:08:37.824Z (12 months ago)
- Topics: chat, clean-architecture, donation-campaign, expressjs, flutter, javascript, mongodb, mongoose, nodejs, rest-api, socket-io, typescript
- Language: TypeScript
- Homepage:
- Size: 174 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Give & Gobble - Back End
Welcome to the Give & Gobble back end repository! This is the server-side of our application, built with Node.js, Express, TypeScript, and MongoDB.
## Prerequisites
Before you start, make sure you have the following tools and services set up:
- Node.js (v14 or higher)
- npm (Node Package Manager)
- Git
- MongoDB (You should have an active MongoDB instance or use a cloud-based solution like MongoDB Atlas)
## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/MuhdHanish/Give-Gobble-Server.git
2. Navigate to the project directory:
3. Install dependencies:
npm install
4. Start the server:
npm start
The server will start running on the specified port (default is 8000).
## Environment Variables
To run the Encode Learning App back end properly, you need to set up the following environment variables. Create a `.env` file in the root of your project and add the following:
```env
SENDER_EMAIL="Sender email address"
SENDER_PASSWORD="Sender email's one time password"
JWT_ACCESS_SECRET="Access secret create own"
JWT_REFRESH_SECRET="Refresh secret create own"
MONGO_URI="Mongo db cloud uri"
```
## Contributing
We welcome contributions from the community to help make Encode Learning App even better! If you'd like to contribute to this project, please follow our [Contributing Guidelines](CONTRIBUTING.md).
Here's how you can get started:
1. Fork this repository.
2. Clone your forked repository:
## License
This project is licensed under the [MIT License](LICENSE).