How mhadev0703/pawto-album works
Project type and purpose
• This is a serverless full-stack application built with the SST (Serverless Stack) framework in a monorepo.
• The “web” package is a React/Vite frontend; “functions” contains AWS Lambda handlers; “core” is a shared TypeScript domain library.
• The stacks/MyStack.ts file defines the AWS resources and API Gateway endpoints.
File structure
Top-level
– pnpm-workspace.yaml, package.json, sst.config.ts, stacks/MyStack.ts
– packages/
packages/core
– Domain definitions and event models (event.ts, todo.ts)
– Reusable logic and types used by Lambdas and potentially other services.
packages/functions
– AWS Lambda entrypoints (lambda.ts)
– Domain-specific handlers (todo.ts, events/todo-created.ts)
– Bundled by SST into serverless functions behind API Gateway.
packages/web
– React single-page app (App.jsx, pages/, components/)
– Vite config, environment typings (sst-env.d.ts)
– Deployed as static assets to S3/CloudFront or served locally for dev.
README insights
• (No content provided—information inferred from file tree and SST conventions.)