diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-06 17:05:21 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-06 17:37:04 +0900 |
| commit | 811458427593a4172a2cd535cc768db375350dca (patch) | |
| tree | 6c4f46c96b6f29392dc19d591e39e03c187033a1 /README.md | |
| parent | 9736a8981fbd6c6defbd67517ca23904fc844629 (diff) | |
| download | kioku-811458427593a4172a2cd535cc768db375350dca.tar.gz kioku-811458427593a4172a2cd535cc768db375350dca.tar.zst kioku-811458427593a4172a2cd535cc768db375350dca.zip | |
feat(dev): change architecture and directory structure
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -29,32 +29,31 @@ pnpm install docker compose up # Run database migrations -pnpm --filter server db:migrate +pnpm db:migrate -# Start development servers +# Start development server pnpm dev ``` ### Environment Variables -Create `.env` files in each app directory: +Create `.env` file in the root directory: -```pkgs/server/.env +``` DATABASE_URL=postgresql://user:password@localhost:5432/kioku JWT_SECRET=your-secret-key ``` -```pkgs/web/.env -PUBLIC_API_URL=http://localhost:3000 -``` - ## Scripts ```bash -pnpm dev # Start all apps in development -pnpm build # Build all apps +pnpm dev # Start server in development +pnpm dev:client # Start client in development +pnpm build # Build all pnpm test # Run tests pnpm lint # Lint code +pnpm db:migrate # Run database migrations +pnpm db:studio # Open Drizzle Studio ``` ## Documentation |
