This project consist of a monorepo with components required for the implementation of DeRisk on Starknet. There are several components in this repository, each with its own purpose and functionality. The main components are:
data_handler
- Data processing and analysis componentweb_app
- Main web application interfacelegacy_app
- Legacy application functionalitydashboard_app
- Analytics dashboardshared
- Common code shared between the components
- Docker installed on your machine (v19.03+ recommended).
- Docker Compose installed (v2.0+ recommended).
The data handler component processes and manages data for the DeRisk platform.
-
To set up this project run next command for local development in
derisk-research
directory: -
Environment Configuration:
cp apps/data_handler/.env.example apps/data_handler/.env.dev
- Start the Services:
docker-compose -f devops/dev/docker-compose.data-handler.yaml up --build
- Stop the Services:
docker-compose -f devops/dev/docker-compose.data-handler.yaml down
- To run test cases for this project run next command in
derisk-research
directory:
make test_data_handler
For detailed documentation, see the Data Handler
The legacy app provides essential functionality for data visualization and analysis through a Streamlit interface.
- To set up this project run next command for local development in
derisk-research
directory:
make setup
- To run streamlit app run next command in
derisk-research
directory:
make app
- Start Jupyter notebook (optional):
make notebook
For detailed documentation, see legacy_app
To set up this project run next command for local development in derisk-research
directory:
- Environment Configuration:
cp apps/web_app/.env.example apps/web_app/.env.dev
- Start the Services:
docker-compose -f devops/dev/docker-compose.notification-app.yaml up --build
- Stop the Services:
docker-compose -f devops/dev/docker-compose.notification-app.yaml down
Interactive dashboard application for visualizing and analyzing DeRisk data.
- Interactive data visualization
- Protocol statistics monitoring
- Loan portfolio analysis
- Real-time data updates For detailed documentation, see the Dashboard App
- How to run test cases for shared package, run next command in root folder:
make test_shared