WelcomeHow It WorksInstallationAvailable ScriptsCustomizationStyles and AssetsTranslationNew PageFAQSupportVersions
Features
Back-End Integration
Deployment
Settings
For API Integration:
[your-frontend-project]
=admin
[rest/graphql
] orshop
We have used env variables using .env
file format. You have
to put your API url within this file.
For example:
Put that url in the shop/.env
and admin/rest/.env
or admin/graphql/.env
for GraphQL
NEXT_PUBLIC_GRAPHQL_API_ENDPOINT= '{put_your_api_url_here}'
or for REST
NEXT_PUBLIC_REST_API_ENDPOINT= '{put_your_api_url_here}'
- Navigate to
shop
- and change
FRAMEWORK_PROVIDER
torest
for REST installation orgraphql
for Graphql Installation from.env
. - For
REST
, copytsconfig.rest.json
content totsconfig.json
or - For
GraphQL
copytsconfig.graphql.json
content totsconfig.json