kit1_21crud Svelte Themes

Kit1_21crud

SvelteKit + Cloudflare D1, CRUD sample

# kit1_21crud

Version: 0.9.1

Author  : Kouji Nakashima / kuc-arc-f.com

date    : 2023/05/12

update : 2023/05/14


Summary

SvelteKit + Cloudflare D1, CRUD sample


Setup

npm install

  • .env

  • PUBLIC_API_URL: API

  • PUBLIC_INTERNAL_URL :internal Server

PUBLIC_BASIC_AUTH_USER = "hoge"
PUBLIC_BASIC_AUTH_PASSWORD = "1111"

PUBLIC_API_URL=http://localhost:8787
PUBLIC_INTERNAL_URL="http://localhost:5173"

PUBLIC_API_KEY="hoge123"

Start server

  • start :
yarn dev

build

yarn build

Blog:

https://zenn.dev/knaka0209/books/a7dd4a9b5b636f

Top categories

Loading Svelte Themes