A comprehensive platform for RPI students and staff to effortlessly create, advertise, and explore diverse campus events, fostering a vibrant and connected university community. Our site is live at: https://rpieventhub.com/
Access the project design on Figma:
- Ensure Node.js is installed.
- Install npm or yarn for dependency management.
Before starting, disable the AirPlay Receiver on your Mac to avoid port conflicts:
- Click the Apple icon (top-left corner).
- Navigate to System Settings.
- Search for AirPlay Receiver in the search bar.
- Locate AirPlay Receiver and turn it off.
1. Clone the Repository
# Clone the repository to your local machine
git clone https://github.com/MeiH10/RPI-EventHub.git
2. Create a .env File for Backend Configuration
# Navigate to the project directory
cd RPI-EventHub
# Move to the backend folder
cd rpi-eventhub/backend/
# Create a .env file
touch .env
Sample .env File Content: Update the placeholder values (***) with your actual credentials.
JWT_SECRET="***"
MONGODB_URI="mongodb+srv://***"
SENDGRID_API_KEY="***"
EMAIL_FROM="[email protected]"
ImgBB_API_KEY="***"
PG_HOST="***.aivencloud.com"
PG_PORT=***
PG_USER="***"
PG_PASSWORD="***"
PG_DATABASE="***"
IMAGE_PREFIX="https://***.pythonanywhere.com/***/"
AZURE_STORAGE_ACCOUNT_NAME="***"
AZURE_STORAGE_ACCOUNT_KEY="***"
3. Install Dependencies and Run Backend
# From the backend directory
npm install
# Start the backend server
npm run start
4. Install Dependencies and Run Frontend
Open another terminal for the frontend setup:
# Navigate to the project root directory
cd path/to/RPI-EventHub
# Move to the frontend folder
cd rpi-eventhub/frontend/
# Install dependencies
npm install
# Start the frontend development server
npm run dev
Additional Notes
- Ensure both backend and frontend servers are running simultaneously.
- Access the application locally at the provided development URL from the terminal output.