To run this project, you will need to add the following variables to your .env
file
PORT = 3000
DB_CONNECTION_URL = mongodb://127.0.0.1:27017/saraha-backend
SALT =
#TOKEN
JWT_SECRET =
BEARER_TOKEN =
# Nodemailer
EMAIL =
PASS =
#Cloudnairy
CLOUDNAIRY_CLOUD_NAME =
CLOUDNAIRY_API_KEY =
CLOUDNAIRY_API_SECRET =
DEFAULT_PROFILE_PICTURE =
This project uses MongoDB
as database and NodeJS
, install them in your local environment.
Clone the project
git clone https://github.com/yahya-saad/SarahaApp-Backend.git
Go to the project directory
cd project-directory
Install dependencies
npm install
Start the server
npm start
or
node .
Setup completed , test endpoints using postman collection in repository and for more inf about API just read documentation. 😁