replaced remix with react-router

This commit is contained in:
dswbx
2025-03-14 15:32:43 +01:00
parent b3a0ecbe6d
commit b763826754
49 changed files with 562 additions and 488 deletions

View File

@@ -0,0 +1,35 @@
# bknd starter: React Router
A minimal React Router project with bknd integration.
## Project Structure
Inside of your React Router project, you'll see the following folders and files:
```text
/
├── public/
├── app/
│ ├── bknd.ts
│ ├── root.tsx
│ └── routes/
│ ├── _index.tsx
│ ├── admin.$.tsx
│ └── api.$.tsx
└── package.json
```
To update `bknd` config, check `app/routes/api.$.ts` and `app/routes/admin.$.ts`.
## Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|:--------------------------|:--------------------------------------------|
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:5173` |
| `npm run build` | Build your production site |
## Want to learn more?
Feel free to check [our documentation](https://docs.bknd.io/integration/remix) or jump into our [Discord server](https://discord.gg/952SFk8Tb8).