Skip to content

johndevor/redwoodsdk-oauth-starter

Repository files navigation

RedwoodSDK + @auth/core Starter

  • Authentication (via @auth/core)
  • Tailwind
  • Shadcn/ui components
  • Vite
  • database (Prisma via D1)
  • Session Management (via DurableObjects)
  • Storage (via R2)

Screenshot

Screenshot

Notes

Creating your project

npx degit redwoodjs/sdk/starters/standard my-project-name
cd my-project-name
pnpm install

Running the dev server

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:

npx wrangler d1 create my-project-db

Copy the database ID provided and paste it into your project's wrangler.jsonc file:

{
  "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.

Further Reading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published