Welcome to the Give & Gobble back end repository! This is the server-side of our application, built with Node.js, Express, TypeScript, and MongoDB.
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)
-
Clone the repository:
git clone https://github.com/MuhdHanish/Give-Gobble-Server.git
-
Navigate to the project directory:
-
Install dependencies:
npm install
- Start the server:
npm start
The server will start running on the specified port (default is 8000).
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:
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"
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.
Here's how you can get started:
-
Fork this repository.
-
Clone your forked repository:
This project is licensed under the MIT License.