Skip to content

sophie-app/sophie

Repository files navigation

Sophie

Development

Requirements

  • Node.js
  • pnpm

Setup

  1. Clone the repository with submodules
git clone --recurse-submodules <repo-url>
  1. Install dependencies
pnpm i
  1. Copy Environment Variables
# frontend
cp ./apps/frontend/.env.local.example ./apps/frontend/.env.local
# backend
cp ./apps/backend/.dev.vars.example ./apps/backend/.dev.vars

Fill in the environment variables in the files as needed.

  1. Start the development server
pnpm dev

Scripts

  • pnpm dev - Start the development server
  • pnpm check - Run linting and formatting checks
  • pnpm fix - Fix linting and formatting issues
  • pnpm typecheck - Run TypeScript type checking
  • pnpm build - Build frontend and backend