Skip to content

usebridge/mono

Repository files navigation

Bridge

Bridge the gap to automated viewings.
Give clients instant booking power and free your team from scheduling calls.

Website

🚀 Development

To get started ensure you have bun, sst, and docker installed.

You will need an API key from Cloudflare to deploy to Cloudflare and run the dev server through SST.

You can run individual dev servers for both Dashboard and Website locally by CD'ing into the respective directory and running bun dev.

# Install dependencies
bun install

# Start the SST development server
bun dev

Database

The database is managed by Drizzle and hosted on Cloudflare D1.

# Migrate the database
bun with-env drizzle-kit migrate

# Generate the database schema
bun with-env drizzle-kit generate

Zero Cache

Zero Cache is used for our local first experience to improve UX. It runs as a Docker container. You can find more information at Zero Cache.

On generating the schema below you may have to update the module declaration in packages/db/package.json to point to the correct namespace of @ho/zero-schema and delete any excess code generated.

# Generate the zero schema
bun with-env zero-cache-dev -p packages/zero-schema/src/index.js

# Run the zero cache locally
bun dev:zero-cache

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors