Skip to content

haouarihk/beth-b2b-saas

 
 

Repository files navigation

LOOKING TO CONTRIBUTE?

I am keeping this repo identical for people following along with the video, feel free to open an issue or a pull request on the template create-beth-app uses

This project was created using create-beth-app

To run locally:

  1. bun install
  2. create a new turso database with turso db create <name>
  3. get the database url with turso db show --url <name>
  4. get the auth token with turso db tokens create <name>
  5. (optional) create a new github developer app and get credentials
  6. copy .env.example to .env
  7. fill out all enviorment variables (refer to the config file to see schema)
  8. bun db:push
  9. bun dev

To deploy to fly.io

  1. Install the Fly CLI

  2. Run fly launch

  3. Run fly secrets set <NAME>=<VALUE> (probably want to set NODE_ENV to "production")

  4. Run fly deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.0%
  • JavaScript 3.7%
  • Dockerfile 1.3%