Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.28 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.28 KB

WhatsApp Status Backend Setup Guide

Welcome to the setup guide for the WhatsApp Status backend! Follow these steps to get your backend up and running locally.

Prerequisites

Before you begin, ensure you have the following installed and set up on your machine:

  • Node.js installed.
  • MongoDB installed and running locally, or access to MongoDB Atlas.
  • An AWS account with an S3 bucket created.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/{username}/whatsapp-status.git
  2. Navigate to the project directory:

    cd whatsapp-status
  3. Install dependencies using npm:

    npm install

Configuration

  1. Create a .env file in the root directory of the project.

  2. Add the following credentials to the .env file:

    MONGO_URL='Your_MongoDB_URI'
    PORT=3000
    BUCKET='Your_Bucket_Name'
    AWS_ACCESS_KEY='Your_AWS_Access_Key'
    AWS_SECRET_KEY='Your_AWS_Secret_Key'
    AWS_REGION='Your_AWS_Region'
    

    Replace the placeholders with your actual MongoDB URI, bucket name, AWS access key, AWS secret key, and AWS region.

Starting the Server

Start the server by running:

node server.js