Condo Management
Find a file
Baobeld 1c5b37b24b
12 implement twilio sms (#37)
* add twilio sdk

* add twilio config

use app version in config

* remove default config

* phone regex

* bun update

* create client

* fix env var

* create Textarea component

* move TextInput

* allow snippets on labels

* update with label and error

* move button

* make button children snippet

* add form props

* allow region code

* add twilio FROM number

* rename to twilioClient

* implement simple messaging

* add twilio phone number as empty var

* format

* move twilio client to local on requests

* fix story

* on second thought, dont use locals since we are only using twilio in one place

Don't want to init a twilio client on every request when its only used
in on a single page

* use i18n for page text

* validate env with a script

* remove Zod validation when loading env vars
2025-01-02 20:11:27 -05:00
.github/workflows chore: improve local setup and change database type (#33) 2024-12-20 17:27:59 -05:00
.husky 18 pre commit hooks (#40) 2025-01-01 09:19:15 -05:00
.storybook Daisy UI (#14) 2024-12-19 21:20:21 -05:00
devops chore: improve local setup and change database type (#33) 2024-12-20 17:27:59 -05:00
docs Daisy UI (#14) 2024-12-19 21:20:21 -05:00
e2e create pr gate workflow (#22) 2024-12-19 22:53:12 -05:00
messages 12 implement twilio sms (#37) 2025-01-02 20:11:27 -05:00
prisma chore: improve local setup and change database type (#33) 2024-12-20 17:27:59 -05:00
project.inlang 19 implement i18n (#29) 2024-12-20 11:41:01 -05:00
scripts 12 implement twilio sms (#37) 2025-01-02 20:11:27 -05:00
src 12 implement twilio sms (#37) 2025-01-02 20:11:27 -05:00
static init 2024-12-06 16:14:24 -05:00
.editorconfig done (#3) 2024-12-03 16:23:39 -05:00
.env 12 implement twilio sms (#37) 2025-01-02 20:11:27 -05:00
.gitignore chore: improve local setup and change database type (#33) 2024-12-20 17:27:59 -05:00
.npmrc init 2024-12-06 16:14:24 -05:00
.prettierignore init 2024-12-06 16:14:24 -05:00
.prettierrc Daisy UI (#14) 2024-12-19 21:20:21 -05:00
.tool-versions init 2024-12-02 09:43:56 -05:00
bun.lockb 12 implement twilio sms (#37) 2025-01-02 20:11:27 -05:00
eslint.config.js Greet user (#21) 2024-12-19 22:24:44 -05:00
package.json 12 implement twilio sms (#37) 2025-01-02 20:11:27 -05:00
playwright.config.ts 19 implement i18n (#29) 2024-12-20 11:41:01 -05:00
postcss.config.js Daisy UI (#14) 2024-12-19 21:20:21 -05:00
README.md 19 implement i18n (#29) 2024-12-20 11:41:01 -05:00
svelte.config.js 12 implement twilio sms (#37) 2025-01-02 20:11:27 -05:00
tailwind.config.ts Daisy UI (#14) 2024-12-19 21:20:21 -05:00
tsconfig.json init 2024-12-06 16:14:24 -05:00
vite.config.ts 19 implement i18n (#29) 2024-12-20 11:41:01 -05:00

Hestia

Hestia is an early stage project

Setup

# install dependencies
bun install

# set up local database
bun prisma:dev

Developing

Once you've created a project and installed dependencies, start a development server:

bun dev

# or start the server and open the app in a new browser tab
bun dev -- --open

# to use storybook for components development
bun storybook

# interact with local database
bun prisma:studio

You can access the Yoga web-app at /api/graphql

Building

To create a production version of your app:

bun build

Stack

Frontend

Backend

Tools

You can preview the production build with bun run preview.

To deploy your app, you may need to install an adapter for your target environment.