2. Code Walkthrough¶
Volto is based on React, Redux and React-Router.
All the code is located in the
src folder we used the default Redux folder structure.
actions contains all the redux actions for fetching all backend data like content, users and so on.
components contains all the views.
This includes views for the manage interface and the theme.
In this folder all configuration is stored. All configuration can be overridden in your theme package.
The constants contain all constants including the action types.
helpers contains helper methods like for example url helpers.
All the Pastanaga icons are located in this folder.
The API middleware is located in this folder which takes care of the communication with the backend.
All the reducers are located here.
theme folder contains the Pastanaga theme which is used for the styling.
theme.config can be used to set the theme settings.