A client for the Zoas Store API
This project use:
It required the environment variable API_URL
, set it before running the project!
Install the dependencies
Run the relay-compiler
Run in development mode (localhost:8081)
Eg.:
API_URL=http://localhost:3000 yarn start
Build the application
Eg.:
API_URL=http://localhost:3000 yarn build
Run the typechecker
Check and fix the code conforms to linting rules (standard)
Formats the code and run the linter
Run storybook in development mode
Build the storybook
Run the tests
Run the tests in watch mode
docker-compose build
docker-compose up
Client Running on:
http://localhost:3001
Required: run the Zoas Store API
yarn install
yarn relay
API_URL=http://localhost:3000 yarn start
Check the correct
API_URL
(Zoas Store API URL)
- Before to run the project, you need run this Zoas Store API
- Check the correct
API_URL
(Zoas Store API URL) in docker-compose.yml - Run
docker-compose build
- Run
docker-compose up
- Done! Test the application
The source code is licensed under MIT. License is available here
by @jeovazero