Skip to content

A Donation platform that connects donors to people in need. Created using MERN Stack.

License

Notifications You must be signed in to change notification settings

rafayhanan/ConnectAid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConnectAid

A Donation platform that connects donors to people in need. Created using MERN Stack and tailwind CSS.

Prerequisites

  • Nodejs
  • npm
  • MongoDB Atlas account or locally installed

Get Started

  1. Clone the Repository

     git clone https://github.com/rafayhanan/ConnectAid.git
  2. Install Dependencies

    cd front-end
    npm install
    cd ..
    cd back-end
    npm install

MongoDB Connection

  1. Create a clustor on MongoDB Atlas

  2. Create .env file in back-end directory

    Use a MongoDB connection string and a JWT Secret key

    MONGODB_URI = mongodb+srv://<username>:<password>@<cluster-name>.bqydw.mongodb.net/?retryWrites=true&w=majority&appName=<clustor-name>
    JWT_SECRET = <your-secret-key>

    OR

    MONGODB_URI = <your-connection-string>
    JWT_SECRET = <your-secret-key>

Running the Project

back-end

  cd back-end
  npm start

front-end

  cd front-end
  npm start