Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fvucemilo/beth-stack
A opinionated hypermedia-driven architecture balancing developer experience and performance.
https://github.com/fvucemilo/beth-stack
bun drizzle elysiajs flyio htmx hyperscript tailwind-css turso typed-html
Last synced: 3 months ago
JSON representation
A opinionated hypermedia-driven architecture balancing developer experience and performance.
- Host: GitHub
- URL: https://github.com/fvucemilo/beth-stack
- Owner: fvucemilo
- License: mit
- Created: 2023-07-30T06:54:33.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-07-30T06:54:35.000Z (12 months ago)
- Last Synced: 2024-01-21T03:13:19.566Z (6 months ago)
- Topics: bun, drizzle, elysiajs, flyio, htmx, hyperscript, tailwind-css, turso, typed-html
- Language: CSS
- Homepage:
- Size: 52.7 KB
- Stars: 59
- Watchers: 2
- Forks: 1
- Open Issues: 2
Lists
- my-awesome-stars - fvucemilo/beth-stack - A opinionated hypermedia-driven architecture balancing developer experience and performance. (CSS)
README
# THE BETH STACK
_It may not be the BEST stack, but it is the BETH stack._
## [Bun](https://bun.sh/)
## [Elysia](https://elysiajs.com/)
## [Turso](https://turso.tech/)
## [HTMX](https://htmx.org/)
Also: [typed-html](https://github.com/nicojs/typed-html), [tailwind-css](https://tailwindcss.com/), [drizzle](https://orm.drizzle.team/), [hyperscript](https://hyperscript.org/) and [fly.io](https://fly.io/)
# TO RUN LOCALLY
1. Clone this repo
2. Install [Bun](https://bun.sh)
3. Run `bun install` to install dependencies
4. Create a database with [Turso](https://turso.tech) and add the connection url and token to a `.env` file in the root of this project
5. Run `bun run db:push` to push the database schema to your database
6. Run `bun run dev` to start the dev server
# TO DEPLOY TO FLY
1. Install the [Fly CLI](https://fly.io/docs/hands-on/install-flyctl/)
2. Run `fly launch`
3. Run `fly secrets set DATABASE_URL=` & `fly secrets set DATABASE_AUTH_TOKEN=`
4. Generate the tailwind css file with `bun run tw`
5. Run `fly deploy`