mirror of
https://github.com/Dvorinka/Bookra.git
synced 2026-10-28 07:41:16 +00:00
first commit
This commit is contained in:
commit
035ac8ddb5
61 files changed
+6600
No files matched your search
@@ -0,0 +1,49 @@
|
||||
# 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.
|
||||
Reference in new issue
Block a user