- Go to supabase.com and create a free account
- Create a new project
- Wait for the database to be set up (2-3 minutes)
- Go to your Supabase project dashboard
- Click on "SQL Editor" in the sidebar
- Copy and paste the entire contents of
server/config/database.sql - Click "Run" to create all tables and sample data
- In your Supabase project, go to Settings → API
- Copy the Project URL and service_role key (NOT the anon key)
- Open
server/.env - Replace the placeholder values:
SUPABASE_URL=https://your-project-ref.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
JWT_SECRET=your-super-secret-jwt-key-feetcode-2024
NODE_ENV=development
PORT=5000# Install frontend dependencies
npm install
# Install backend dependencies
cd server
npm install
cd ..# Option 1: Start both frontend and backend together
npm run install:all # First time only
npm run start:full
# Option 2: Start separately (in different terminals)
npm run dev # Frontend on http://localhost:3000
npm run server:dev # Backend on http://localhost:5000- Go to http://localhost:3000
- Click "Sign In" in the top right
- Create a new account or sign in
- Try switching between different vibes (Professional/Humorous/Gen Z)
- Go to the "Problems" page
- Click on "Two Sum" problem
- Try the code editor with different languages
- Submit some code (it will run against test cases)
- Switch between vibes using the toggle in the navbar
- Notice how all text changes (problem descriptions, messages, etc.)
- Professional: "All test cases passed successfully!"
- Humorous: "Your code is smoother than my pickup lines! 🎉"
- Gen Z: "That code absolutely slaps! No cap! 🔥"
- Go to Dashboard page after solving some problems
- See your stats, activity calendar, and recent submissions
- ✅ Full authentication system
- ✅ Code editor with syntax highlighting
- ✅ Real code execution and validation
- ✅ Multiple programming languages
- ✅ Problem browsing with advanced filtering
- ✅ User progress tracking and statistics
- ✅ Unique personality system with 3 vibes
- ✅ Responsive design
- ✅ Sample problems with different difficulty levels
"Missing Supabase environment variables"
- Make sure you've set SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY in
server/.env
"Network error"
- Make sure the backend server is running on port 5000
- Check the browser console for specific error messages
Database errors
- Make sure you've run the SQL script in Supabase
- Check your Supabase project is active
Code execution not working
- This is normal for the demo - the code runner is a mock for security reasons
- In production, you'd need Docker containers for safe code execution
- Add more problems to the database
- Implement real code execution with Docker
- Add more personality vibes
- Build discussion forums
- Add leaderboards and contests
Enjoy coding with personality! 🎭🚀