Skip to the content.

Frontend

Software architecture

A simple Expo (React Native) app built in TypeScript. File structure explains pretty well the software architecture.

UI Components

UI Components are documented using via storybook.

To run storybook locally, refer to frontend’s README.md file.

TODO: Once Storybook is deployed, link it here.

Backend communication

We send simple API calls with axios in isolated functions. src/domain/cats/api/getRandomCatFacts.ts is a good example.

Mock data can be injected instead of calling the API. To use it, refer to listed environment variables listed in src/config/features-env.ts.

TODO: Once data validation is implemented (not form, API response data validation), explain here

File structure

For more info, see Expo file structure.

Development files