Go to file
Jesse Holden 2661c9d37e
chore: refactor + add typesafety to libsql client options map
2023-09-28 22:52:42 -04:00
src chore: refactor + add typesafety to libsql client options map 2023-09-28 22:52:42 -04:00
.env.example env.example 2023-09-24 12:46:47 -05:00
.eslintrc.cjs eslint 2023-09-22 14:37:31 -05:00
.gitignore cache tests 2023-09-17 00:07:28 -05:00
README.md deploy readme 2023-09-26 15:39:30 +00:00
bun.lockb remove fly stuff 2023-09-24 01:16:12 -05:00
drizzle.config.ts idk 2023-09-20 16:05:34 +00:00
package.json oops 2023-09-24 12:45:08 -05:00
prettier.config.cjs prettier 2023-09-17 23:43:25 -05:00
reset.d.ts tsreset 2023-09-17 23:57:45 -05:00
tsconfig.json little twitter clone! 2023-09-21 00:35:52 -05:00
uno.config.ts UNO GO BRR 2023-09-18 16:23:48 -05:00

README.md

This project was created using create-beth-app

To open an issue: https://github.com/ethanniser/the-beth-stack

To discuss: https://discord.gg/Z3yUtMfkwa

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