API endpoints for HackaCode platform.
To run this application, you need to set up the required environment variables:
- Create a
.envfile in the root directory with the following variables:
PORT=3000
# Supabase configuration
SUPABASE_URL=https://your-project-id.supabase.co
SUPABASE_ANON_KEY=your-supabase-anon-key
- Replace the placeholder values with your actual Supabase project URL and anonymous key.
# Install dependencies
pnpm install
# Run in development mode
pnpm run start:dev
# Build for production
pnpm run build
# Run in production mode
pnpm run start:prod/auth- Authentication endpoints/problems- Problem management endpoints
api-dev.hackacode.xyz api.hackacode.xyz