https://github.com/wmalarski/rwsdk-bookmarks
https://github.com/wmalarski/rwsdk-bookmarks
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wmalarski/rwsdk-bookmarks
- Owner: wmalarski
- Created: 2025-07-15T20:36:51.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-24T19:27:59.000Z (3 months ago)
- Last Synced: 2025-07-25T00:46:02.979Z (3 months ago)
- Language: TypeScript
- Size: 659 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Standard RedwoodSDK Starter
This "standard starter" is the recommended implementation for RedwoodSDK. You get a Typescript project with:
- Vite
- database (Prisma via D1)
- Session Management (via DurableObjects)
- Passkey authentication (Webauthn)
- Storage (via R2)## Creating your project
```shell
npx create-rwsdk my-project-name
cd my-project-name
pnpm install
```## Running the dev server
```shell
pnpm dev
```Point your browser to the URL displayed in the terminal (e.g. `http://localhost:5173/`). You should see a "Hello World" message in your browser.
## Deploying your app
### Wrangler Setup
Within your project's `wrangler.jsonc`:
- Replace the `__change_me__` placeholders with a name for your application
- Create a new D1 database:
```shell
npx wrangler d1 create my-project-db
```Copy the database ID provided and paste it into your project's `wrangler.jsonc` file:
```jsonc
{
"d1_databases": [
{
"binding": "DB",
"database_name": "my-project-db",
"database_id": "your-database-id",
},
],
}
```### Authentication Setup
For authentication setup and configuration, including optional bot protection, see the [Authentication Documentation](https://docs.rwsdk.com/core/authentication).
## Further Reading
- [RedwoodSDK Documentation](https://docs.rwsdk.com/)
- [Cloudflare Workers Secrets](https://developers.cloudflare.com/workers/runtime-apis/secrets/)