updated examples package.json's and README.md's

This commit is contained in:
dswbx
2025-02-18 13:19:35 +01:00
parent 7994eabe7d
commit 964bacd824
8 changed files with 163 additions and 65 deletions

View File

@@ -1 +1,34 @@
# Remix & bknd
# bknd starter: Remix
A minimal Remix project with bknd integration.
## Project Structure
Inside of your Remix project, you'll see the following folders and files:
```text
/
├── public/
├── app/
│ ├── 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).

View File

@@ -6,8 +6,6 @@
"scripts": {
"build": "remix vite:build",
"dev": "remix vite:dev",
"db": "turso dev --db-file test.db",
"db:check": "sqlite3 test.db \"PRAGMA wal_checkpoint(FULL);\"",
"start": "remix-serve ./build/server/index.js",
"typecheck": "tsc"
},