Installation

Prerequisites

Before installing SaaniCare, ensure you have the following:

  • Node.js >= 18.0.0 (we recommend >= 22.0.0)
  • pnpm >= 8.0.0
  • PostgreSQL >= 14
  • Redis (optional, for caching)

Clone the Repository

git clone <repository-url>
cd kids_learning

Install pnpm

If you don’t have pnpm installed:

npm install -g pnpm

Install Dependencies

pnpm install

Set Up Environment Variables

cp env.example .env.local

Edit .env.local with your actual API keys and configuration.

Set Up the Database

cd apps/api
pnpm prisma migrate dev
pnpm prisma db seed

Quick Start with Docker

For a complete development environment:

# Start infrastructure (PostgreSQL, Redis, Mailhog)
make docker-up

# Install dependencies
make install

# Start development
pnpm dev

Next Steps

Once installation is complete, see the Setup Guide for configuration details.