Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crazywoola/leviosa.dev
Minimal fullstack dev template
https://github.com/crazywoola/leviosa.dev
cloudflare cloudflare-workers fullstack honojs hotwire-stimulus serverless
Last synced: 9 days ago
JSON representation
Minimal fullstack dev template
- Host: GitHub
- URL: https://github.com/crazywoola/leviosa.dev
- Owner: crazywoola
- Created: 2023-12-29T02:20:37.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-02T08:44:42.000Z (9 months ago)
- Last Synced: 2024-10-11T14:57:22.078Z (2 months ago)
- Topics: cloudflare, cloudflare-workers, fullstack, honojs, hotwire-stimulus, serverless
- Language: JavaScript
- Homepage: https://leviosa.dev
- Size: 172 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leviosa.dev
> It’s Leviosa, Not Leviosaaa!
## Development
### Quick Start
#### Worker
```
npm install
cp wrangler.toml.example wrangler.toml
npm run dev
```
#### SiteWe use esbuild & hotwire.dev to build the frontend site. Modify the code in `src/client`.
```
npm run build:fe
```### Database
#### Use Raw SQL
:(
```
npx wrangler d1 execute --local --file=./db/migrations/1.sql
npx wrangler d1 execute --local --command="SELECT * FROM Users"
```
#### Use D1 Migrations
:)For readable purpose, we use D1 Migrations to manage database migrations.
```
npx wrangler d1 migrations create users
npx wrangler d1 migrations apply --local
npx wrangler d1 migrations list --local
```## Deploy
```
npm run deploy
```