Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alanrsoares/bun-todos
server-rendered todo app with bun, elysia, drizzle & torso
https://github.com/alanrsoares/bun-todos
bun elysia todoapp
Last synced: 22 days ago
JSON representation
server-rendered todo app with bun, elysia, drizzle & torso
- Host: GitHub
- URL: https://github.com/alanrsoares/bun-todos
- Owner: alanrsoares
- License: unlicense
- Created: 2023-07-27T11:43:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-18T22:05:19.000Z (4 months ago)
- Last Synced: 2024-07-19T06:33:30.531Z (4 months ago)
- Topics: bun, elysia, todoapp
- Language: CSS
- Homepage: https://bun-todos.fly.dev/
- Size: 764 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Example fullstack app with Bun, Elysia, Torso & HTMX
## Features
- TailwindCSS for styling
- CVA abstraction for styled components with typescript, on the server
- Drizzle orm## Development
Requirements:
- Have a [clerk](https://clerk.com) account. It's cree!
- create a `.env.local` file
- set CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY with your own keys
- Have a [turso](https://turso.io) account. Also free!
- setTo start the development server run:
```bash
bun run dev
```Open http://localhost:3000/ with your browser to see the result.
## Deployment
- Have a [fly.io](https://fly.io) account
- Create an application
- Change the `app name` and `primary region` settings according to your app on `fly.io` [here](/fly.toml)
- Install the [fly cli](https://fly.io/docs/hands-on/install-flyctl/) if you haven't yet
- Login with the `fly cli`:```bash
fly auth login
```- Set up your env variables as secrets on fly.io. [details here](https://fly.io/docs/reference/secrets/#set-secrets)
- Deploy to `fly.io`:
```bash
fly deploy
```- That's it, you did it 🎉
License: [UNLICENSE](/LICENSE.md)