{"id":17792175,"url":"https://github.com/hlaueriksson/jamstack-cms","last_synced_at":"2025-03-16T16:32:40.669Z","repository":{"id":146644011,"uuid":"95257244","full_name":"hlaueriksson/jamstack-cms","owner":"hlaueriksson","description":"A JAMstack experiment with a Headless CMS","archived":false,"fork":false,"pushed_at":"2017-06-24T19:48:08.000Z","size":674,"stargazers_count":11,"open_issues_count":0,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T11:47:15.151Z","etag":null,"topics":["headless-cms","jamstack","serverless","static-site"],"latest_commit_sha":null,"homepage":"https://jamstack-cms.netlify.com","language":"HTML","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/hlaueriksson.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-23T21:20:02.000Z","updated_at":"2024-05-15T14:36:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"223be0d1-8767-4085-aab9-83f7261f67db","html_url":"https://github.com/hlaueriksson/jamstack-cms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlaueriksson%2Fjamstack-cms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlaueriksson%2Fjamstack-cms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlaueriksson%2Fjamstack-cms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlaueriksson%2Fjamstack-cms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hlaueriksson","download_url":"https://codeload.github.com/hlaueriksson/jamstack-cms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822295,"owners_count":20353500,"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":["headless-cms","jamstack","serverless","static-site"],"created_at":"2024-10-27T10:58:14.194Z","updated_at":"2025-03-16T16:32:40.658Z","avatar_url":"https://github.com/hlaueriksson.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JAMstack\n\nThis is an experiment where I'm trying to build a [JAMstack](https://jamstack.org) site.\n\n\u003e Modern web development architecture based on client-side JavaScript, reusable APIs, and prebuilt Markup.\n\nThe ingredients are:\n\n* JavaScript: Client-side logic with [jQuery](https://jquery.com)\n* APIs: Server-side logic with [Azure Functions Core Tools](https://www.npmjs.com/package/azure-functions-core-tools) hosted on [Azure](https://azure.microsoft.com/en-us/services/functions/)\n* Markup: Static HTML generated with [Hugo](https://gohugo.io)\n* Content: Git-based Headless CMS with [Netlify CMS](https://www.netlifycms.org)\n\nThe source code for the Hugo site:\n\n* [/src/site](/src/site)\n\nThe source code for the Azure Functions:\n* [/src/api](/src/api)\n\nThe site is hosted by [Netlify](https://www.netlify.com) at:\n\n* [http://jamstack-cms.netlify.com](http://jamstack-cms.netlify.com)\n\n## Run\n\nTo run the site locally, edit [/src/site/data/api.toml](/src/site/data/api.toml):\n\n```toml\n[recipe]\nget_ingredients = \"http://localhost:7071/api/Ingredients/\"\n\n[submit]\npost_recipe = \"http://localhost:7071/api/Recipe\"\n```\n\nRun the Hugo site:\n\n`cd src/site`\n\n`hugo server`\n\nRun the Azure Functions:\n\n`cd src/api`\n\n`func host start --cors http://localhost:1313`\n\nBrowse:\n\n`http://localhost:1313`\n\n## Attributions\n\nThe jam recipes was taken from the Swedish site [Tasteline.com](http://www.tasteline.com):\n\n* Apple Jam: [http://www.tasteline.com/recept/appelmos-grundrecept/](http://www.tasteline.com/recept/appelmos-grundrecept/)\n* Lingonberry Jam: [http://www.tasteline.com/recept/lingonsylt/](http://www.tasteline.com/recept/lingonsylt/)\n* Strawberry Jam: [http://www.tasteline.com/recept/jordgubbssylt/](http://www.tasteline.com/recept/jordgubbssylt/)\n\nTranslations from Swedish to English was done with [Google Translate](https://translate.google.com/#sv/en/).\n\nThe images was taken from [Flickr](https://www.flickr.com/):\n\n* Apples: [https://www.flickr.com/photos/1sock/7910673688/](https://www.flickr.com/photos/1sock/7910673688/) by 1sock\n* Lingonberries: [https://www.flickr.com/photos/kymis/2875484409/](https://www.flickr.com/photos/kymis/2875484409/) by Jyrki Kymäläinen\n* Strawberries: [https://www.flickr.com/photos/42787780@N04/6984507532/](https://www.flickr.com/photos/42787780@N04/6984507532/) by Fried Dough\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlaueriksson%2Fjamstack-cms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhlaueriksson%2Fjamstack-cms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlaueriksson%2Fjamstack-cms/lists"}