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.
- forms-flow-components
This module contains reusable UI components.
- forms-flow-review
This module contains all the functionalities related to reviewer journey including filters, tasks and all the related actions
- forms-flow-submissions
This modules contains the functionalities related to analyze submissions
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,8082are available.
- 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
masterbrach - 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
Storybook is available for the forms-flow-components module to showcase and test UI components.
- Nodejs 16 or above
- Make sure port
6006is available for Storybook
- Navigate to the
forms-flow-componentsdirectory - Run
npm installto install dependencies - Run
npm run storybookto start the Storybook development server - Storybook will be available at
http://localhost:6006
- Interactive component playground
- Component documentation
- Visual testing capabilities
- Design system showcase
- Accessibility testing tools
npm run storybook- Start Storybook development servernpm run build-storybook- Build static Storybook for productionnpm run storybook:test- Run Storybook tests