astro2_28task Svelte Themes

Astro2_28task

cloudflare D1 + Astro 2, Task List app sample

# astro2_28task

Version: 0.9.1

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

date    : 2023/05/26

update : 2023/05/30


Summary

cloudflare D1 + Astro 2, Task List 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

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


Top categories

Loading Svelte Themes