Quick Start
Quick Start
Section titled “Quick Start”Get ClinicFlow running locally in under 5 minutes.
Prerequisites
Section titled “Prerequisites”- Node.js 22+ — nodejs.org
- Supabase project — supabase.com (free tier works)
- Redis — local Docker, Railway Redis, or any hosted Redis
1. Clone the repo
Section titled “1. Clone the repo”git clone git@github.com:ErnestNuma/clinic-saas-production.gitcd clinic-saas-production2. Set up the backend
Section titled “2. Set up the backend”cd backendcp .env.example .env# Edit .env — fill in SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, ENCRYPTION_KEY, etc.npm installnpm run migrate # Apply schema.sql to your Supabase DBnpm run dev # Backend starts on :30013. Set up the frontend
Section titled “3. Set up the frontend”cd ../frontendcp .env.example .envnpm installnpm run dev # Frontend starts on :51734. Open the app
Section titled “4. Open the app”Visit http://localhost:5173 and register a new clinic.