mirror of
https://github.com/Dvorinka/Bookra.git
synced 2026-06-03 20:13:00 +00:00
50 lines
913 B
Markdown
50 lines
913 B
Markdown
# Bookra
|
|
|
|
Remote-first booking SaaS scaffold aligned to the `tdvorak-fullstack` profile with these overrides:
|
|
|
|
- frontend on Vercel
|
|
- backend on Railway
|
|
- Neon Postgres + Neon Auth
|
|
- no Docker-based local runtime
|
|
|
|
## Workspace
|
|
|
|
- `apps/frontend` SolidJS frontend
|
|
- `apps/backend` Go API
|
|
- `packages/api-client` generated TypeScript client/types from OpenAPI
|
|
- `packages/shared-types` shared frontend constants and helpers
|
|
|
|
## Local development
|
|
|
|
### Frontend
|
|
|
|
```bash
|
|
npm install
|
|
npm run dev:frontend
|
|
```
|
|
|
|
### Backend
|
|
|
|
```bash
|
|
cd apps/backend
|
|
go run ./cmd/api
|
|
```
|
|
|
|
Both apps expect remote services:
|
|
|
|
- Neon Postgres
|
|
- Neon Auth
|
|
- Stripe
|
|
|
|
See `.env.example`, `apps/frontend/.env.example`, and `apps/backend/.env.example`.
|
|
|
|
## Backend database commands
|
|
|
|
```bash
|
|
npm run db:generate
|
|
npm run db:migrate:status
|
|
npm run db:migrate:up
|
|
```
|
|
|
|
`db:migrate:*` expects `BOOKRA_DATABASE_DIRECT_URL` to be exported in the shell.
|