mirror of
https://github.com/shishantbiswas/bknd-examples.git
synced 2026-03-16 02:07:22 +00:00
cleanups/refactor of the entire main branch
All checks were successful
Build and Push to Gitea Registry / build-and-push (push) Successful in 6m40s
All checks were successful
Build and Push to Gitea Registry / build-and-push (push) Successful in 6m40s
This commit is contained in:
27
README.md
27
README.md
@@ -16,6 +16,33 @@ bun run dev
|
||||
3. **`src/routes/index.tsx`** - Using `getApp()` to fetch data in loader
|
||||
3. **`src/routes/ssr.tsx`** - Server Side example with `getApp()` to fetch data on server
|
||||
|
||||
## Directory Structure
|
||||
|
||||
```txt
|
||||
├── bknd.config.ts
|
||||
├── bun.lock
|
||||
├── docker-compose.yml
|
||||
├── Dockerfile
|
||||
├── package.json
|
||||
├── public
|
||||
├── README.md
|
||||
├── src
|
||||
│ ├── bknd.ts # bknd singleton initialization
|
||||
│ ├── logo.svg
|
||||
│ ├── router.tsx
|
||||
│ ├── routes
|
||||
│ │ ├── api.$.ts # bknd API handler
|
||||
│ │ ├── admin.$.tsx # Admin Dashboard
|
||||
│ │ ├── index.tsx # Client Side Rendering example
|
||||
│ │ └── ssr.tsx # Server Side Rendering example
|
||||
│ │ ├── __root.tsx
|
||||
│ ├── routeTree.gen.ts
|
||||
│ └── styles.css
|
||||
├── tsconfig.json
|
||||
└── vite.config.ts
|
||||
```
|
||||
|
||||
|
||||
## API Endpoints
|
||||
|
||||
- `GET /admin` - for Admin Dashboard
|
||||
|
||||
Reference in New Issue
Block a user