Skip to content

Instantly share code, notes, and snippets.

View elledienne's full-sized avatar

Lorenzo De Nobili elledienne

View GitHub Profile
@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
@erikmunson
erikmunson / sst.config.ts
Last active January 11, 2025 19:15
Zero SST test/prototype example
/// <reference path="./.sst/platform/config.d.ts" />
const BASE_DOMAIN_CERT_ARN =
'<cert ARN in AWS for your domain>'
const buildServiceDomainName = (slug: string) => {
// build whatever domain you like
const baseDomain = `${$app.stage}.mydomain.com`
return `${slug}.${baseDomain}`
}
@pesterhazy
pesterhazy / building-sync-systems.md
Last active April 16, 2025 11:29
Building an offline realtime sync engine

So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.

Overview articles