-
Notifications
You must be signed in to change notification settings - Fork 0
2. Development
Boris edited this page May 24, 2024
·
1 revision
This repository contains a turbo repo with the following applications and packages:
-
apps/backend: the backend server using express -
apps/web: frontend svelte-kit application
-
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
-
Clone the repository
-
git@github.com:borisnliscool/yar.git
-
-
Copy the
.env.examplefile to.env.devand change the default credentials-
cp .env.example .env.dev
-
-
Start the development database
-
docker compose -f dev-docker-compose.yml up -d
-
-
Install dependencies
-
pnpm install
-
-
Generate and push the database
-
pnpm db:generate && pnpm db:push
-
-
Start the development server
-
pnpm dev
-