{"id":21043393,"url":"https://github.com/crystallizeapi/dounut-astro","last_synced_at":"2025-06-30T15:33:38.586Z","repository":{"id":218564969,"uuid":"738998245","full_name":"CrystallizeAPI/dounut-astro","owner":"CrystallizeAPI","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-02T02:31:18.000Z","size":297,"stargazers_count":39,"open_issues_count":1,"forks_count":30,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T15:58:47.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dounut-astro.vercel.app","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/CrystallizeAPI.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":"2024-01-04T14:37:43.000Z","updated_at":"2025-03-26T10:27:53.000Z","dependencies_parsed_at":"2024-01-22T20:48:59.459Z","dependency_job_id":"0f016a13-b535-4d25-8ff6-d52186662e4f","html_url":"https://github.com/CrystallizeAPI/dounut-astro","commit_stats":null,"previous_names":["crystallizeapi/dounut-astro"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CrystallizeAPI/dounut-astro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fdounut-astro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fdounut-astro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fdounut-astro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fdounut-astro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrystallizeAPI","download_url":"https://codeload.github.com/CrystallizeAPI/dounut-astro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fdounut-astro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262800931,"owners_count":23366465,"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":"2024-11-19T14:12:40.138Z","updated_at":"2025-06-30T15:33:38.557Z","avatar_url":"https://github.com/CrystallizeAPI.png","language":"TypeScript","readme":"# AstroJS Boilerplate\n\n---\n\nThis repository is what we call a \"subtree split\": a read-only copy of one directory of the main repository. If you want to report or contribute, you should do it on the main repository: https://github.com/CrystallizeAPI/boilerplates.\n\n---\n\nThe product storytelling boilerplate is a minimal eCommerce boilerplate built using AstroJS and Crystallize. You can also check out the [live demo](https://dounot.milliseconds.live/) (deploy it) of this boilerplate.\n\n![dounut-astro-local](https://github.com/CrystallizeAPI/boilerplates/assets/26195876/dfe351b9-69dc-4e9e-947b-e89ff07151a7)\n\n\n\n## What this guide covers:\n\n- Setting up your project\n- Instructions for running the project\n- Accessing the development site\n- Folder structure of the boilerplate\n- Editing the components and the theme\n- Deploying the project\n\n## Getting Started\n\nTo get started, head over to GitHub and clone [the repository](https://github.com/CrystallizeAPI/dounut-astro). Make sure to install all the required packages by running the following command for both the folders:\n\n```bash\nnpm install\n\n```\n\n## Running the Project\n\nRunning the project in development is straightforward. To start the development server, run the following command:\n\n```bash\nnpm run dev\n\n```\n\n## Accessing the Development Site\n\nOnce the development server is running, you will be able to browse to http://localhost:4321/.\n\n\u003cimg width=\"1437\" alt=\"dounut-astro-dev-server\" src=\"https://github.com/CrystallizeAPI/boilerplates/assets/26195876/d615da75-54dc-4866-a8fd-5054fca3a23e\"\u003e\n\n\n## Folder Structure\n\nThis section provides you with a better understanding of the folder structure.\n\n**src/components**\n\nContains all the components used throughout the application\n\n**src/use-cases**\n\nIncludes the GraphQL queries and mutations used to communicate with Crystallize.\n\n**src/pages**\n\nHas all the individual pages the website contains.\n\n## Editing the theme\n\nAll the theme related information can be edited in the **tailwind.config.js** file. This includes the colors, spacing, typography used throughout the application.\n\n## Editing the components\n\nComponents can be edited by heading over to the **components** folder in **src.**\n\n### Frontpage\n\nThe frontpage contains a grid and it is fetching all the grid related information (including the layout) from Crystallize. You can directly edit the grid in Crystallize for changes to take effect. Editing the styling such as the background and typography can be done in the **grid-item** component.\n\n![frontpage-dounut-astro-grid](https://github.com/CrystallizeAPI/boilerplates/assets/26195876/80bebeb5-c2eb-4a96-9721-392bac109e17)\n\n### Product\n\nIndividual product pages are using two components - one is the **product** component that contains the hero section, and the ‘Add to cart’ button and then the **product-body** component that can be edited to change the layout of the marketing information displayed on the page.\n\n### Cart, Checkout, and Confirmation\n\nThe basket, checkout, and the confirmation pages can be edited in their respective files located in the pages folder.\n\n\n\u003e Please note that this boilerplate does not contain payment integrations such as Stripe. It is using a dummy payment method.\n\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystallizeapi%2Fdounut-astro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrystallizeapi%2Fdounut-astro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystallizeapi%2Fdounut-astro/lists"}