https://github.com/shivan-s/learning
My learnings
https://github.com/shivan-s/learning
cloudflare cloudflare-pages d1 sveltekit svlete typescript
Last synced: about 1 month ago
JSON representation
My learnings
- Host: GitHub
- URL: https://github.com/shivan-s/learning
- Owner: shivan-s
- Created: 2023-05-29T09:41:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T08:06:57.000Z (over 1 year ago)
- Last Synced: 2025-10-10T01:29:02.448Z (5 months ago)
- Topics: cloudflare, cloudflare-pages, d1, sveltekit, svlete, typescript
- Language: TypeScript
- Homepage: https://learning.shivan.xyz
- Size: 551 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
- node
- npm
- Patience & Creativity
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
cd client
npm install
npm run dev -- --open
```
`db/` contains information to initialise the database.
## Deploying
This project usses github actions to deploy onto Cloudflare with every code change.
1. Make sure secrets are set for the following variables:
- `CLOUDFLARE_API_TOKEN`
- `CLOUDFLARE_AUTHOR_ID`
[Instructions on how to obtain these are here](https://github.com/cloudflare/pages-action).
2. Make sure Github Actions permissions is set to Read and Write using a `GITHUB_TOKEN`.
_WIP_