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.
- Nodejs 16 or above
- Make sure the ports
8080
,8001
,8081
,8082
are available.
- Clone the repo
- run
npm install && npm start
by checking into all modules note: while runningnpm install
informs-flow-admin
might throw some error due to version conflict, just run the same command with--force
flag 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-alpha
brach - check into
forms-flow-web-root-config
directory - update public/config/config.js with all the configurations
- run
npm install && npm start
- check into
forms-flow-web
directory - run
npm install && npm start
make sure this module run on port 3001 - The application should be available at port 3000