Prerequisites
Before you begin, ensure you have the following installed:Supabase Account
Create a free account at supabase.com and set up a new project.You’ll need:
- Project URL
- Anon (public) key
- Service role key (for server-side operations)
Clone the Repository
Clone the TechCal source code:Install Dependencies
Install all required packages:package.json, including:
- Next.js 15 (App Router)
- React 19
- Supabase client libraries
- UI libraries (Tailwind, Radix UI, MUI)
- Testing frameworks (Vitest, Playwright)
- And more
Database Setup
Run Supabase Migrations
Apply all database migrations to set up tables, functions, and policies:This creates the necessary database schema for:
- User profiles and authentication
- Events and recommendations
- Analytics and telemetry
- Ingestion pipeline
- Social features (following, blocking)
Configure Environment Variables
Create a.env.local file in the project root with your Supabase credentials:
.env.local
See the Environment Variables page for a complete reference of all available configuration options.
Run Development Server
- Standard Mode
- Turbo Mode (Experimental)
Verify Installation
Access the Application
Open http://localhost:3000 in your browser.
Complete Onboarding
Protected routes require:
- Supabase authentication (sign up/sign in)
- Completion of the onboarding flow at
/onboarding/career
- Current role and career stage
- Professional goals
- Skills and interests
- Event preferences
Common Issues
Port 3000 Already in Use
If port 3000 is occupied, Next.js will automatically try port 3001, 3002, etc. Or specify a custom port:Database Connection Errors
Verify your Supabase credentials in.env.local:
- URL should be in format:
https://your-project.supabase.co - Keys should be copied exactly from Supabase dashboard
- Service role key is required for server-side operations
Missing Dependencies
If you see module errors, try clearing cache and reinstalling:Next Steps
Environment Variables
Configure all environment variables and feature flags
Testing
Run unit and integration tests with Vitest
Project Structure
Understand the codebase organization
Testing Guide
Learn how to write and run tests