π§ Currently still in development...
Install node_modules
:
yarn
or
yarn install
Copy appConfig.dev.json
to create appConfig.json
:
cp src/appConfig.dev.json ~/antdpro-urql-strapi/src/appConfig.json
If the above command does not work, you can use File Manager to copy appConfig.dev.json
manually or even just create appConfig.json
inside the /src
directory.
This allows you to separate application configuration on client-side based on the environment (development, staging, production, etc.)
appConfig.json
: Default.appConfig.local.json
: Local overrides. This file is loaded for all environments except test.appConfig.dev.json
,appConfig.test,json
,appConfig.prod.json
: Environment-specific settings.appConfig.development.local
,appConfig.test.local.json
,appConfig.prod.local.json
: Local overrides of environment-specific settings.
Reference : Create React App - Adding Custom Environment Variables
Here are some useful script to help you quick start and build with web project, code style check and test.
Scripts provided in package.json
. It's safe to modify or add additional script:
yarn start
yarn build
yarn lint
You can also use script to auto fix some lint error:
yarn lint:fix
yarn test
- Fix login issue (#1)
Here is the repo you might be looking for : https://github.com/kevinadhiguna/antdpro-strapi-auth
Here is the Strapi app that you can use with this project : https://github.com/kevinadhiguna/strapi-dockerize