Quickstart Guide
Get the NJ Rajat Mahotsav event platform up and running on your local machine in just a few minutes.Prerequisites
Before you begin, ensure you have the following installed:- Node.js 18+ and npm
- Git for cloning the repository
- A code editor (VS Code recommended)
Quick Setup
Set up environment variables
Create a
.env.local file in the project root with the following variables:.env.local
For local development, you only need the Supabase variables. Cloudflare R2 is optional unless you’re testing file uploads.
Run the development server
Verify the setup
Open your browser and navigate to http://localhost:3000. You should see the NJ Rajat Mahotsav landing page.
The site will work without Supabase for browsing, but you’ll need it configured for registration and admin features.
What’s Next?
Full Installation Guide
Complete environment setup with Supabase and Cloudflare configuration
Architecture Overview
Learn about the platform’s architecture and design patterns
Core Features
Explore event registration, admin dashboard, and more
Component Library
Browse the atomic design component structure
Common Commands
Troubleshooting
Port 3000 is already in use
Port 3000 is already in use
If port 3000 is already in use, you can specify a different port:
Module not found errors
Module not found errors
Clear your node_modules and reinstall:
Environment variables not loading
Environment variables not loading
Make sure your
.env.local file is in the project root directory (not inside app/ or src/). Restart the dev server after creating or modifying the file.Next Steps
Now that you have the platform running locally, explore these resources:- Installation Guide - Detailed setup with all integrations
- Event Registration - Learn about the registration system
- Admin Dashboard - Understand the admin portal
- Deployment Guide - Deploy to production
