Skip to content

2. Development

Boris edited this page May 24, 2024 · 1 revision

This repository contains a turbo repo with the following applications and packages:

Applications

Packages

  • packages/ui: a svelte component library shared with frontend applications
  • packages/types: typescript definitions for backend and frontend applications
  • packages/utils: helper functions for backend and frontend applications

Requirements

Setup

  1. Clone the repository

    • git@github.com:borisnliscool/yar.git
  2. Copy the .env.example file to .env.dev and change the default credentials

    • cp .env.example .env.dev
  3. Start the development database

    • docker compose -f dev-docker-compose.yml up -d
  4. Install dependencies

    •   pnpm install
  5. Generate and push the database

    • pnpm db:generate && pnpm db:push
  6. Start the development server

    • pnpm dev

Clone this wiki locally