{"id":28486059,"url":"https://github.com/sst/ideal-stack-preview","last_synced_at":"2025-06-30T01:33:08.023Z","repository":{"id":38423684,"uuid":"444472770","full_name":"sst/ideal-stack-preview","owner":"sst","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-04T02:35:07.000Z","size":832,"stargazers_count":36,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-29T04:39:42.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-04T15:37:45.000Z","updated_at":"2023-11-23T01:43:45.000Z","dependencies_parsed_at":"2022-08-18T08:21:28.572Z","dependency_job_id":null,"html_url":"https://github.com/sst/ideal-stack-preview","commit_stats":null,"previous_names":["sst/ideal-stack-preview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sst%2Fideal-stack-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sst%2Fideal-stack-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sst%2Fideal-stack-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sst%2Fideal-stack-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sst","download_url":"https://codeload.github.com/sst/ideal-stack-preview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sst%2Fideal-stack-preview/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258647320,"owners_count":22735370,"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":[],"created_at":"2025-06-08T01:10:08.405Z","updated_at":"2025-06-30T01:33:08.001Z","avatar_url":"https://github.com/sst.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Ideal Stack Preview\n\nThis is a preview of the upcoming ideal stack. It is a modern starter that contains everything you need to ship full-stack serverless applications. It's built on top of SST and has tools like GraphQL already setup.\n\nYou can checkout a demo of it given at our v1 Conf [here](https://youtu.be/6FzLjpMYcu8?t=5182)\n\n### Getting started\n\nThis is a standard SST app so you can bring everything up with `yarn start`\n\n### File Structure\n\n```\nbackend\n├── core\n├── functions\n    ├── graphql\n├── migrations\nstacks\ngraphql\nweb\n```\n\n- `backend` - Package that contains all backend code, both business logic and functions\n  - `core` - Contains pure business logic. Should implement features here, do things like read/write to the database.\n  - `functions` - Contains handlers for lambda functions. These should not contain much business logic and instead import from `core` to coordinate work\n    - `graphql` - This is the function for the GraphQL server. It uses Pothos to define the schema + resolvers in native typescript. You can view documentation for that library [here](https://pothos-graphql.dev/)\n  - `migrations` - This stack currently uses the `sst.RDS` construct and this folder contains migrations. This isnt mandatory, you can use any database you want including DynamoDB\n- `stacks` - Standard SST stacks folder. Currently contains an API configured for graphql, an RDS cluster, and a static site for the frontend\n- `graphql` - The new API route for graphql will handle codegeneration from pothos definitions and this is the folder it goes into. It's currently setup to generate a [genql](https://genql.vercel.app/) client for use in tests and the frontend but you can configure whatever codegen steps you want.\n- `web` - A standard React application created with [vite](https://vitejs.dev/) configured with URQL to use as the GraphQL client. It has helpers in there to bring typesafety features through genql.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsst%2Fideal-stack-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsst%2Fideal-stack-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsst%2Fideal-stack-preview/lists"}