ROQ One Frontend is placed in the
/frontend folder of the mono-repository, which can be found on Github: roqtech/roq-one. In this directory you will see several sub-directories and files:
Root directory of ROQ One Frontend. The files are explained below.
Patch to fix Apple authorization missing
Directory for public files like logos and the favicon.
This directory contains JSON files with all translation-keys and values. The data is fetched from ROQ Platform, see Translations
All routes of ROQ One can be localized. In this directory you find all routes and their translations.
Includes a workaround to forward environment variables
Source directory of your application. All directories are explained below.
Set of global types
This file makes your IDE compatible with the applied coding guidelines. The EditorConfig is compatible with most IDEs like WebStorm and VS Code.
Configuration file for ESLint that defines which files to ignore.
Configuring ESLint rules.
Defines which files won’t be commited to the repository
Setting node.js version for nvm. Nvm is the package which allows to switch between node versions without new installation of node.
Config of rules of prettier. Prettier is a utility that automatically formats your code.
Installation of ROQ One Backend via docker, see Local installation guide
Configuration file of Jest which is used for the e2e tests.
Required by Apple SSO
Needed for the
Configuration for New Relic
Custom advanced configuration of Next.js
Configuration for next-i18next which is a library for translation management.
List of dependencies which are installed when you run
Calculated file that describes which versions of what dependency will be installed.
Used for configuration of tests
These files contain options of the TypeScript compiler
frontend/src directory you can find the React components, pages, views and CSS. More information and details on this concept can be found here: React component architecture