Code Monkey home page Code Monkey logo

the-beth-stack's Introduction

THE BETH STACK

It may not be the BEST stack, but it is the BETH stack.

Also: typed-html, tailwind-css, drizzle, hyperscript and fly.io

ADDITIONAL STYLING OPTIONS:

twind: check out the twind branch

unocss: check out the unocss branch

really you can use whatever you like the most

ADDITIONAL STYLING OPTIONS:

File-based Routing: check out the elysia-autoroutes branch

VIEW THE LIVE DEMO AT the-beth-stack.fly.dev

EACH STEP IN THE TUTORIAL IS A BRANCH IN THIS REPO

SO YOU CAN SEE THE CODE AT EACH STEP

TO RUN LOCALLY

  1. Clone this repo

  2. Install Bun

  3. Run bun install to install dependencies

  4. Create a database with Turso 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

  2. Run fly launch

  3. Run fly secrets set DATABASE_URL=<your url> & fly secrets set DATABASE_AUTH_TOKEN=<your token>

  4. Generate the tailwind css file with bun run tw

  5. Run fly deploy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.