This repository contains the backend code for the Poepl app, an ultimate online discussion forum for youth empowerment
Before setting up the backend, make sure you have the following installed on your machine:
- Node.js: Download and Install Node.js
- MongoDB: Download and Install MongoDB
To set up the backend locally on your machine, follow these steps:
- Clone the repository:
git clone https://github.com/nafisazizir/peopl-backend.git- Install the dependencies:
cd poepl-backend
npm install- Configure the environment variables:
- Create a
.envfile in the root directory. - Add the necessary environment variables
DB_URL, TOKEN_KEY
- Create a
- Make sure that MongoDB is running on your machine
- Start the development server:
npm run start