forms-flow-ai-micro-front-ends is a collection of micro front-end applications to support formsflow.ai.
- forms-flow-admin
The admin module includes functionalities available for the user with admin privilages. Currently admin module contains dashboard management, role management, user management. This UI is only available for users with formsflow-admin role.
- forms-flow-nav
The navbar for formsflow.ai, this module is available for all users. This module trigger the routing, internationalization, and login/logout functionalities.
- forms-flow-service
This module contains all the common functionalties used by micro front-ends. The common services include authentication service, storage APIs etc.
- forms-flow-theme
This module contains the common style sheet shared by all micro-front-ends. This module supports theming by providing the option to use desired themes by modifying the css variables.
All the modules are built with single-spa, a javascript router for micro front-end microsevices.
- Clone the repo
- run
npm install && npm startby checking into all modules note: while runningnpm installinforms-flow-adminmight throw some error due to version conflict, just run the same command with--forceflag to resolve this issue. This is happening since we migrated the specific module from legacy codebase and some dependencies are to be maintained and will resolve this in future. - clone the formsflow.ai [https://github.com/AOT-Technologies/forms-flow-ai] repo.
- check into
5.2.0-alphabrach - check into
forms-flow-web-root-configdirectory - update public/config/config.js with all the configurations
- run
npm install && npm start - check into
forms-flow-webdirectory - run
npm install && npm startmake sure this module run on port 3001 - The application should be available at port 3000