{"id":21043414,"url":"https://github.com/crystallizeapi/crystallize-react-native-boilerplate","last_synced_at":"2025-05-15T17:31:49.052Z","repository":{"id":33983769,"uuid":"159025840","full_name":"CrystallizeAPI/crystallize-react-native-boilerplate","owner":"CrystallizeAPI","description":"The bare minimum you need to get a frontend up and running on Crystallize. React Native","archived":false,"fork":false,"pushed_at":"2022-07-18T09:08:04.000Z","size":9766,"stargazers_count":16,"open_issues_count":4,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-03T12:51:23.320Z","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":"mit","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-25T11:46:21.000Z","updated_at":"2025-03-10T01:56:36.000Z","dependencies_parsed_at":"2022-07-11T14:17:48.524Z","dependency_job_id":null,"html_url":"https://github.com/CrystallizeAPI/crystallize-react-native-boilerplate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fcrystallize-react-native-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fcrystallize-react-native-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fcrystallize-react-native-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fcrystallize-react-native-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrystallizeAPI","download_url":"https://codeload.github.com/CrystallizeAPI/crystallize-react-native-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254388147,"owners_count":22062995,"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:43.278Z","updated_at":"2025-05-15T17:31:48.168Z","avatar_url":"https://github.com/CrystallizeAPI.png","language":"TypeScript","readme":"# Crystallize React Native Boilerplate (Beta)\n\n----\n\nThis repository is what we call a \"subtree split\": a read-only copy of one directory of the main repository. \n\nIf you want to report or contribute, you should do it on the main repository: https://github.com/CrystallizeAPI/boilerplates\n\n----\n\nStorefront for the\n[headless ecommerce][8] \u0026 GraphQL based [product Information Management][9]\nservice [Crystallize][10]. [React Native eCommerce][11].\n\n![title](assets/readme-preview.png)\n\nThis React Native Boilerplate gives you a head start when building a [React Native\necommerce app][11]. You can have rich ecommerce content with the super structured [PIM][13] engine in\nCrystallize powering your product catalogue.\n\nNote: The boilerplate is currently work in progress, but you can already load products and marketing content.\n\nCheck it out, the boilerplate is Open Source and MIT licensed.\n\n## Prerequisite\n\n- You need to have the latest version of Xcode installed\n- You need to have cocoapods installed\n- You need to download the iPhone 11 simulator via Xcode\n\n## Getting Started with the CLI\n\nYou can use [Crystallize CLI][17] to bootstrap a project with this\n`React Native` boilerplate.\n\nSimply run the following command (\u003e= Node 8 required):\n\n```sh\nnpx @crystallize/cli my-project\n```\n\nThis will walk you through the steps of specifying your tenant, choosing the\ntemplate (React Native).\n\n### Running on iOS\n\nTo run the iOS app you need to have Xcode and Cocoapods installed. Once the CLI\nfinishes the installation, navigate into your project using the terminal and\nrun the following commands.\n\n```sh\n\ncd ios\npod install\ncd ..\n\n```\n\nTo run the app simply run the following command\n\n```sh\nnpx react-native run-ios\n```\n\n### Setting up Environment variables\n\nCreate a .env file in the root of the project if it doesn't exist. Add the following lines.\nThis will tell the app to connect to our Service API and tenant. If you have your own setup,\nfeel free to use that instead.\n\n```\nCRYSTALLIZE_TENANT_IDENTIFIER=furniture\nPUBLIC_SERVICE_API_URL=https://service-api-demo.superfast.shop/api/graphql\n```\n\n[1]: https://reactnative.dev/\n[2]: https://img.shields.io/badge/nuxt-latest-44cc11.svg?style=flat-square\n[3]: https://reactnative.dev/\n[4]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\n[5]: https://github.com/prettier/prettier\n[6]: https://img.shields.io/badge/code_linter-eslint-463fd4.svg?style=flat-square\n[7]: https://github.com/prettier/prettier\n[8]: https://crystallize.com/product\n[9]: https://crystallize.com/product/product-information-management\n[10]: https://crystallize.com\n[11]: https://crystallize.com/developers\n[12]: https://crystallize.com/blog/frontend-performance-measuring-kpis\n[13]: https://crystallize.com/product/product-information-management\n[14]: https://crystallize.com/blog/ecommerce-seo-checklist\n[15]: https://crystallize.com/blog/content-rich-storytelling-makes-juicy-ecommerce\n[16]: https://snowball.digital/blog/content-strategy-for-exponential-growth-marketing\n[17]: https://github.com/crystallizeapi/crystallize-cli\n[20]: https://vercel.com\n[21]: https://img.shields.io/static/v1?label=Slack\u0026logo=slack\u0026message=Crystallize%20Community\u0026color=68d1b7\n[22]: https://crystallizecommunity.slack.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystallizeapi%2Fcrystallize-react-native-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrystallizeapi%2Fcrystallize-react-native-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystallizeapi%2Fcrystallize-react-native-boilerplate/lists"}