{"id":25774134,"url":"https://github.com/matootie/bread","last_synced_at":"2026-04-10T14:39:12.903Z","repository":{"id":279555891,"uuid":"939111865","full_name":"matootie/bread","owner":"matootie","description":"🍞 Bread is a template for a full-stack serverless application built using Bun. Deploys to AWS behind CloudFront, with a Lambda Hono API and an S3 hosted React app.","archived":false,"fork":false,"pushed_at":"2025-02-26T07:16:26.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-02-26T07:31:44.114Z","etag":null,"topics":["aws","aws-cdk","bun","full-stack","hono","lambda","react","serverless","tailwindcss","template"],"latest_commit_sha":null,"homepage":"https://d2n13o6gwa5r0y.cloudfront.net","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matootie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-26T02:24:22.000Z","updated_at":"2025-02-26T07:16:29.000Z","dependencies_parsed_at":"2025-02-26T07:41:48.833Z","dependency_job_id":null,"html_url":"https://github.com/matootie/bread","commit_stats":null,"previous_names":["matootie/bread"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matootie%2Fbread","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matootie%2Fbread/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matootie%2Fbread/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matootie%2Fbread/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matootie","download_url":"https://codeload.github.com/matootie/bread/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240981714,"owners_count":19888373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-cdk","bun","full-stack","hono","lambda","react","serverless","tailwindcss","template"],"created_at":"2025-02-27T05:18:27.310Z","updated_at":"2025-12-30T19:51:32.532Z","avatar_url":"https://github.com/matootie.png","language":"TypeScript","readme":"# Full-Stack Serverless Bun Template\n\nA full template for a serverless application built using Bun.\n\nFeatures:\n\n- AWS CDK for infrastructure-as-code to define Cloud resources. (`packages/cdk`)\n- Custom Lambda Layer for Bun that plays nicely with Hono. (`packages/bun-layer`)\n- Lambda based API using Hono. (`services/api`)\n- Static-hosted web application using React. (`services/client`)\n- Everything is neatly configured behind a CloudFront distribution (`packages/cdk`)\n\nHow to use:\n\n- `bun run develop` will start the development server.\n- `bun run build` will bundle all code and CDK definitions.\n- `bun run package` will zip up all code to deploy.\n- `bun cdk [...]` alias for aws-cdk CLI in the correct working directory.\n- `bun cdk synth` will synthesize a CloudFormation template.\n- `bun cdk diff` will show a diff between deployed CloudFormation state and local changes.\n- `bun cdk deploy` will deploy the application to AWS.\n\n### Development Server\n\nThe development server will hot-reload client changes. When using `bun run develop` the API server will also restart when changes are made.\n\nAdditionally, there's a proxy available in the development server that mimicks the CloudFront configuration. Any requests made to `/api` or `/api/*` will be forwarded to the API server locally. This way, you can hard code in your API request URLs in the client without worrying about local/deployed servers.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatootie%2Fbread","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatootie%2Fbread","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatootie%2Fbread/lists"}