Skip to content

yahya-saad/SarahaApp-Backend

Repository files navigation

SarahaApp Backend

Where you can send and receive anonymous or public messages as you like.

nodejs express mongodb jwt

Table of Contents

About the Project

👾 Tech Stack

📔 Documentation

🔑 Environment Variables

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 =

Getting Started

‼️ Prerequisites

This project uses MongoDB as database and NodeJS , install them in your local environment.

🏃 Run Locally

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. 😁

linkedin