Logo Lanfrica

Collinsarusei/KidooCare-Kenya

Domain:

socioeconomic

Record type:

software
Creator:
Col
Host:
A daycare lookup site with AI # πŸ‘Ά KiddoCare Kenya β€” Daycare Marketplace Platform A full-stack daycare marketplace and flexible weekly billing platform ("Lipa Mdogo Mdogo") for daycare centers, parents, and platform administrators in Kenya. --- ## πŸ“¦ Tech Stack | Layer | Technology | |---|---| | Frontend | React 18 + TypeScript + Vite + Tailwind CSS | | Backend API | NestJS + Prisma ORM + PostgreSQL | | Auth | JWT (Access + Refresh tokens) | | Payments | M-Pesa STK Push (Daraja API) | | Email | Resend API | | File Uploads | UploadThing | | AI Features | Google Genkit + Gemini 1.5 | | Caching | Redis | | Monorepo | Turborepo | --- ## βœ… Prerequisites Make sure the following are installed before you begin: 1. **Node.js v18+** β€” Download 2. **PostgreSQL** β€” either installed natively or via Docker 3. **Redis** β€” either installed natively or via Docker 4. **Docker Desktop** *(optional but recommended)* β€” Download --- ## πŸš€ Full Setup Guide ### Step 1 β€” Clone & Install Dependencies Open **PowerShell** or **Command Prompt** in the project folder: ```powershell cd "c:\Users\ADMIN\Desktop\Christine project" npm install ``` This installs all workspace packages (root, `apps/api`, `apps/web`, shared packages). --- ### Step 2 β€” Configure Environment Variables The project uses **two `.env` files** β€” both must be configured: #### File 1: `apps/api/.env` (Backend API β€” primary) ```env DATABASE_URL="postgresql://christine:christine1234@localhost:5432/daycare?schema=public" REDIS_URL="redis://localhost:6379" PORT=3000 JWT_SECRET="your-jwt-secret-here" JWT_EXPIRES_IN="7d" MASTER_ENCRYPTION_KEY="0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" # Google Gemini AI β€” get free key at: aistudio.google.com GOOGLE_API_KEY="YOUR_GOOGLE_AI_API_KEY" AI_SERVICE_URL=localhost # Resend Email β€” get key at: resend.com RESEND_API_KEY="re_xxxxxxxxxxxxxxxxxxxxxxxx" RESEND_FROM_EMAIL="KiddoCare Kenya " # UploadThing β€” get token at: uploadthing. …