Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daniel-le97/the-beth-stack
https://github.com/daniel-le97/the-beth-stack
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/daniel-le97/the-beth-stack
- Owner: daniel-le97
- Created: 2023-08-13T16:28:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-15T08:20:43.000Z (about 1 year ago)
- Last Synced: 2024-12-09T14:57:59.726Z (about 1 month ago)
- Language: TypeScript
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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/)
### ADDITIONAL STYLING OPTIONS:
#### [twind](https://twind.dev/): check out the [twind branch](https://github.com/ethanniser/the-beth-stack/tree/twind)
#### [unocss](https://unocss.dev/): check out the [unocss branch](https://github.com/ethanniser/the-beth-stack/tree/unocss)
_really you can use whatever you like the most_
### VIEW THE LIVE DEMO AT [the-beth-stack.fly.dev](https://the-beth-stack.fly.dev/)
## EACH STEP IN THE TUTORIAL IS [A BRANCH IN THIS REPO](https://github.com/ethanniser/the-beth-stack/branches)
### SO YOU CAN SEE THE CODE AT EACH STEP
# 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`