This repository contains the backend API for the Club Collaboration project, which supports the Club Collaboration frontend by providing data and services for clubs, events, announcements, and contact details. The backend is built using Node.js, Express.js, and MongoDB.
- Node.js
- Express
- MongoDB
- Clubs Overview: Detailed information for all clubs, including members and descriptions.
- Announcements & Events: Manage and view club-specific announcements and events.
- Image Galleries: Upload and display event or club-related media.
- Admin Panel: Manage clubs, announcements, events, and images with admin access.
- Search & Filter: Easily find clubs, events, and announcements with search functionality.
- User Authentication: Secure login for users and admins.
-
Clone the repository:
git clone https://github.com/iiitv/club-collaboration-backend.git
-
Navigate to the project directory:
cd club-collaboration-backend
-
Install dependencies:
yarn install
-
Set up environment variables by creating a
.env
file in the root directory:MONGODB_URI=<your_mongo_db_uri> SESSION_SECRET=<your_session_secret_key> EMAIL=<your_email> EMAIL_SECRET=<your_email_secret> JWT_SECRET=<your_jwt_secret_key>
yarn start