{"id":28619240,"url":"https://github.com/nickcallaghan/cafe-starter","last_synced_at":"2025-07-14T11:07:51.970Z","repository":{"id":135475543,"uuid":"289453126","full_name":"NickCallaghan/cafe-starter","owner":"NickCallaghan","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-23T16:58:48.000Z","size":30411,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T04:22:19.092Z","etag":null,"topics":[],"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/NickCallaghan.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,"zenodo":null}},"created_at":"2020-08-22T08:49:47.000Z","updated_at":"2020-11-12T18:55:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c2e179c-d32b-48be-8f76-c343ccbb194e","html_url":"https://github.com/NickCallaghan/cafe-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NickCallaghan/cafe-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Fcafe-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Fcafe-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Fcafe-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Fcafe-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NickCallaghan","download_url":"https://codeload.github.com/NickCallaghan/cafe-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Fcafe-starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265281177,"owners_count":23739868,"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-12T04:21:19.804Z","updated_at":"2025-07-14T11:07:51.959Z","avatar_url":"https://github.com/NickCallaghan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.gatsbyjs.org\"\u003e\n    \u003cimg alt=\"Gatsby\" src=\"https://www.gatsbyjs.org/monogram.svg\" width=\"60\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e\n  Gatsby Starter Cafe\n\u003c/h1\u003e\n\nA single page starter template for cafes utilising Gatsby, Contentful and LeafletJS\n\n## Demo\n\n🚀 Here is a [live demo](https://gatsby-starter-cafe.netlify.com/) of the website\n\nThese are the Contentful Content Models which make up the menu section of the site:\n\n![Category Image](https://github.com/crolla97/gatsby-starter-cafe/blob/master/src/images/README-1.png)\n![Menu Item Image](https://github.com/crolla97/gatsby-starter-cafe/blob/master/src/images/README-2.png)\n\n## :memo: Getting Started\nCreate a ```.env``` file in your root directory:\n\n```shell\nCONTENTFUL_SPACEID=YOUR_SPACE_ID\nCONTENTFUL_ACCESS_TOKEN=YOUR_ACCESS_TOKEN\n```\n\nInstall dependencies:\n```npm install```\n\n## :file_folder: Customisation\nTo add your instagram username, change the ```gatsby-config.js``` file:\n```js\n    {\n      resolve: `gatsby-source-instagram`,\n      options: {\n        username: `YOUR_INSTAGRAM_USERNAME`,\n      },\n    },\n```\n\nTo add your business' coordinates onto the map, change the ```index.js``` file:\n```js\n{typeof window !== 'undefined' \u0026\u0026\n      \u003cLeafletMap\n        position={[55.952103, -3.196175]} // Your Coordinates\n        zoom={18} // Zoom Level\n        markerText={\"Local Cafe, 65 Park Row\"} // Icon text\n      /\u003e\n    }\n```\n\n**IMPORTANT NOTE**: In order for the site to run, Contentful has to set up in exactly as shown in the pictures above. If you want to create different content models then some static queries and files will have to be updated or this will cause an error. These queries can be found in the following files: ```breakfast.js``` ```lunch.js``` ```hotDrinks.js``` ```coldDrink.js```\n\nAny questions or problems please open an issue I'll be happy to help.\n\nHappy Coding!! :computer:\n\n## 🎓 Learning Gatsby\n\nLooking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.org/). Here are some places to start:\n\n- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.org/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.\n\n- **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.org/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickcallaghan%2Fcafe-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickcallaghan%2Fcafe-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickcallaghan%2Fcafe-starter/lists"}