Samagra-Development / workflow

Workflow is an Open Source project aimed towards the creation of data flow models using config files thereby allowing you to easily create and interact with stateful applications with minimum setup.
https://samagra-development.github.io/workflow
5 stars 28 forks source link

Migrated to Turborepo (Monorepo Structure) #8

Closed Ansh-Sarkar closed 1 year ago

Ansh-Sarkar commented 1 year ago

Signed-off-by: Ansh Sarkar anshsark18@gmail.com

Issues: #7 & #3

Description

Migration of existing repository structure to a monorepo using Turborepo in order to improve scalability and Developer Experience (DX) by enabling division into workspaces, caching and faster builds.

Changes

How to test

The above command will automatically install, set up and run all the packages and applications. Docker is required. After successful build you should be able to view the form at : http://localhost:3000/

Note: Initial build takes roughly 20 - 25 mins, due to enketo-core. Subsequent builds take less than 1 min. The react frontend will show an error localhost refused to connect until enketo-core has finished building. Once the build is successful, refreshing the fronted will render the form.

For building the modules and documentations you can run the build script as follow

npm run build
Ansh-Sarkar commented 1 year ago

@ChakshuGautam @Shruti3004 requesting a review of this PR. Thanks !