astro2_26plan Svelte Themes

Astro2_26plan

cloudflare D1 + Astro 2, schedule app sample

# astro2_26plan

Version: 0.9.1

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

date    : 2023/05/24

update : 2023/05/30


Summary

cloudflare D1 + Astro 2, schedule app sample


API Server


setup

  • .env
  • PUBLIC_API_URL, PUBLIC_API_KEY
  • auth info: PUBLIC_BASIC_AUTH_USER, PUBLIC_BASIC_AUTH_PASSWORD
PUBLIC_BASIC_AUTH_USER = "hoge"
PUBLIC_BASIC_AUTH_PASSWORD = "1111"

PUBLIC_API_URL=http://localhost:8787
PUBLIC_API_KEY="hoge123"

Start

npm i

#start-dev

yarn  dev

# build

yarn build


blog


Top categories

Loading Svelte Themes