Skip to content

Instantly share code, notes, and snippets.

View bodhihawken's full-sized avatar
⌨️
typing

Bodhi Hawken bodhihawken

⌨️
typing
  • Australia, Victoria
View GitHub Profile
@bodhihawken
bodhihawken / sst.config.ts
Last active May 28, 2025 14:19
Working SST & Zero Sync Config - Postgres RDS & Local Dev
/* eslint-disable */
/// <reference path="./.sst/platform/config.d.ts" />
export default $config({
app(input) {
return {
name: "booqyy",
removal: input?.stage === "production" ? "retain" : "remove",
home: "aws",
@bodhihawken
bodhihawken / sst.config.ts
Last active January 12, 2025 21:52
Zero Sync SST Example
/// <reference path="./.sst/platform/config.d.ts" />
const { exec } = require('child_process');
import { db } from 'drizzle';
import ZSchema from './zero-schema.json'
import { execSync } from 'child_process';
import fs from 'fs';
// This deploys a Angular/Ionic/Capacitor app
// API On Same Domain as WebApp