{"id":15002344,"url":"https://github.com/jamstack-cms/serverless-backend","last_synced_at":"2026-02-28T13:02:50.740Z","repository":{"id":35877736,"uuid":"210177670","full_name":"jamstack-cms/serverless-backend","owner":"jamstack-cms","description":"The serverless back end for JAMstack CMS. Use this back end to deploy a custom CMS using your own front end.","archived":false,"fork":false,"pushed_at":"2023-05-06T20:25:52.000Z","size":121,"stargazers_count":79,"open_issues_count":8,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-09T09:59:01.856Z","etag":null,"topics":["dynamodb","graphql","jam-stack","jamstack","serverless"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jamstack-cms.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":"2019-09-22T16:20:31.000Z","updated_at":"2025-10-04T11:42:37.000Z","dependencies_parsed_at":"2024-10-12T07:00:42.872Z","dependency_job_id":"c949a26b-5b05-4ad3-a4ac-e7930c240174","html_url":"https://github.com/jamstack-cms/serverless-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamstack-cms/serverless-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamstack-cms%2Fserverless-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamstack-cms%2Fserverless-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamstack-cms%2Fserverless-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamstack-cms%2Fserverless-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamstack-cms","download_url":"https://codeload.github.com/jamstack-cms/serverless-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamstack-cms%2Fserverless-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29934963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:00:17.143Z","status":"ssl_error","status_checked_at":"2026-02-28T12:59:13.669Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dynamodb","graphql","jam-stack","jamstack","serverless"],"created_at":"2024-09-24T18:49:44.202Z","updated_at":"2026-02-28T13:02:50.712Z","avatar_url":"https://github.com/jamstack-cms.png","language":"JavaScript","readme":"## JAMstack CMS infrastructure as code\n\nThis is the back end infrastructure that powers the JAMstack CMS.\n\nIf you would like to build another CMS based on the JAMstack CMS, this is a great place to start. It includes the following:\n\n1. GraphQL API with authorization rules.\n\n2. Amazon S3 for storage of images, videos, and files.\n\n3. Authentication service for user management and general authentication and authorization.\n\n4. Lambda functions for image resizing and post-confirmation of users to add to groups.\n\n### To deploy this backend with another app\n\n1. Download the amplify folder into the root of the application you'd like to build\n\n2. Run the following command:\n\n```sh\namplify init\n```\n\n3. Update the schema to match your requirements.\n\n4. To update any configuration, you can run the following commands:\n\n```sh\namplify update storage\n\namplify update api\n\namplify update auth\n\namplify update function\n```\n\n### Updating / evolving the GraphQL schema\n\nTo update the schema, open the schema at *amplify/backend/api/jamstackcms*. Here is the base schema:\n\n```graphql\n  \ntype Post @model\n  @auth (\n      rules: [\n          { allow: groups, groups: [\"Admin\"], operations: [create, update, delete] },\n          { allow: private, operations: [read] },\n          { allow: public, operations: [read] }\n      ]\n  ) {\n  id: ID!\n  title: String!\n  description: String\n  content: String!\n  cover_image: String\n  createdAt: String\n  published: Boolean\n  previewEnabled: Boolean\n  categories: [String]\n  author: User @connection\n}\n\ntype Comment @model @auth(\n  rules: [\n    { allow: groups, groups: [\"Admin\"], operations: [create, update, delete] },\n    { allow: owner, ownerField: \"createdBy\", operations: [create, update, delete] }\n  ]\n) {\n  id: ID!\n  message: String!\n  createdBy: String\n  createdAt: String\n}\n\ntype Settings @model @auth(rules: [\n    { allow: groups, groups: [\"Admin\"] },\n    { allow: groups, groupsField: \"adminGroups\"},\n    { allow: public, operations: [read] },\n  ]) {\n  id: ID!  \n  categories: [String]\n  adminGroups: [String]\n  theme: String\n  border: String\n  borderWidth: Int\n  description: String\n}\n\ntype Preview @model\n  @auth (\n      rules: [\n        { allow: groups, groups: [\"Admin\"] },\n        { allow: private, operations: [read] }\n      ]\n  ) {\n  id: ID!\n  title: String!\n  description: String\n  content: String!\n  cover_image: String\n  createdAt: String\n  categories: [String]\n}\n\ntype Page @model(subscriptions: null)\n  @auth (\n      rules: [\n        { allow: groups, groups: [\"Admin\"] },\n        { allow: private, operations: [read] },\n        { allow: public, operations: [read] }\n      ]\n  )\n{\n  id: ID!\n  name: String!\n  slug: String!\n  content: String!\n  components: String\n  published: Boolean\n}\n\ntype User @model\n  @auth(rules: [\n    { allow: owner },\n    { allow: groups, groups: [\"Admin\"]},\n    { allow: public, operations: [read] }\n  ])\n{\n  id: ID!\n  name: String\n  username: String\n  avatarUrl: String\n}\n```\n\nOnce you've made the updates, run the following command to test the new API:\n\n```sh\namplify mock\n```\n\nOnce you've tested the updates, run the following command to deploy the new API:\n\n```sh\namplify push\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamstack-cms%2Fserverless-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamstack-cms%2Fserverless-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamstack-cms%2Fserverless-backend/lists"}