ImpactLink is a collaborative platform designed to connect NGOs, volunteers, and social impact projects. It includes a backend API and a frontend application to manage campaigns, volunteers, and certificates, among other features.
Follow these instructions to set up the project on your local machine for development and testing purposes.
Make sure you have the following installed on your machine:
- Node.js (v14 or above)
- npm (Node Package Manager)
- Git
Clone the repository:
git clone https://github.com/Yashparmar1125/ImpactLink.git
cd ImpactLink- Navigate to the backend directory:
cd backend - Install dependencies:
npm install
- Configure environment variables:
- Create a
.envfile in thebackendfolder. - Add the necessary environment variables as described in the
.env.examplefile.
- Create a
- Start the server:
npm start
The backend will run on http://localhost:5000 by default.
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install
- Configure secrets:
- Place the
client_secret_*.jsonfile in thefrontendfolder (this will be provided by the admin).
- Place the
- Start the development server:
npm run dev
The frontend will run on http://localhost:5173 by default.
The project uses environment variables to configure sensitive data. Ensure you have the following variables in your .env files:
DATABASE_URL=<your_database_url>
JWT_SECRET=<your_jwt_secret>
GOOGLE_CLIENT_ID=<your_google_client_id>
GOOGLE_CLIENT_SECRET=<your_google_client_secret>We welcome contributions from the community! Follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add feature description" - Push to your branch:
git push origin feature-name
- Create a pull request on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.