Event management system for college events.
- Docker and Docker Compose installed
- SSL certificates for HTTPS (place them in the
sslfolder)
-
Copy the environment example file and modify it:
cp env.example .env
-
Update the
.envfile with your configuration:- Database credentials
- JWT secret
- Google OAuth credentials
- SMTP settings for email
-
SSL Certificates
- Place your SSL certificates in the
sslfolder:fullchain.pem: Your certificate chainprivkey.pem: Your private key
- For development, you can generate self-signed certificates:
# Navigate to the ssl directory cd ssl # Generate private key openssl genrsa -out privkey.pem 2048 # Generate self-signed certificate openssl req -new -x509 -key privkey.pem -out fullchain.pem -days 365 -subj "/CN=localhost"
- Place your SSL certificates in the
docker-compose up -dThis will start:
- Backend server at port 8000 (internal)
- Frontend on ports 80 (HTTP) and 443 (HTTPS)
- All API endpoints are accessible at
/api - Admin panel at
/dean - Council portal at
/council - Student portal at
/(root)