added readme

This commit is contained in:
2026-01-26 20:41:25 -05:00
parent 083ddc345b
commit 8415e27ff3

54
readme.md Normal file
View File

@@ -0,0 +1,54 @@
## Prerequs
* Node.js
* npm
* Docker + Docker Compose
## Installation
Install dependencies in each workspace:
```
cd ui && npm install
cd ../api && npm install
cd ../shared && npm install
```
## Local Development Setup
From the project root, start required services:
```
docker compose -f docker-compose.dev.yml up
```
Run database setup from `/api`:
```
npm run migrate:up
npm run migrate:seed
```
## Running the App
Start the frontend:
```
cd ui
npm run dev
```
Start the API:
```
cd api
npm run dev
```
* UI runs via Vite
* API runs on Node after TypeScript build
## Notes
* `shared` must have its dependencies installed for both UI and API to work
* `docker-compose.dev.yml` is required for local dev dependencies (e.g. database)