| ... | ... | @@ -36,7 +36,7 @@ Here we represent important files and folders at the root and (+1) level of the |
|
|
|
* web-API definitions can be found parallel to it under `/api`
|
|
|
|
|
|
|
|
details of each of these folders will be explained in their respective pages. Since in NextJS folder structure defines available routes in the application the above structure allows for the web-UI to be served in the two different languages we support - English ( `/` or `/en`, which is default) and German ( `/de`)\] routes respectively . The web-APIs are consequently served via the `/api/{API_Endpoint}` routes. Read the [routing fundamentals ](https://nextjs.org/docs/app/building-your-application/routing)in NextJS for more details.
|
|
|
|
* `/components` contains definitions of all components written in React. The way components are made available in this folder is directly proportional to the order in which they appear based on the structure in `/src/app/[locale]`
|
|
|
|
* `/components` contains definitions of all components written in React. The way components are made available in this folder is directly proportional to the order in which they appear based on the structure in `/src/app/[locale]` . When a component is used in multiple layers it is found at the root level of this folder
|
|
|
|
* `` /layout `` contains components and their respective child components that are used in`` `src/app/[locale]/layout.tsx` ``
|
|
|
|
* `/app` contains components used in `src/app/[locale]/page.tsx` at its root level. While the `/app/results` folder contains components and their consequent child components that are used in `src/app/[locale]/results/page.tsx`
|
|
|
|
* `/locales` contains two files that have translation definitions that are needed by the application to support two languages
|
| ... | ... | |
| ... | ... | |