This project is a web application that allows users to either import existing models or create new ones. Users can upload a .JSON containing a model, which is then parsed and displayed if the parsing is successful. The application also provides functionalities to analyze diagrams and manage threat tables.
- Import existing models from JSON files.
 - Create new models.
 - Parse and validate uploaded models.
 - Display diagrams, overview table and threat tables.
 - Analyze diagrams for dataflows crossing trust boundaries.
 - Manage and save threat tables.
 - Export threat tables to JSON files.
 
- Language: TypeScript
 - Frameworks: React, Material-UI
 
- 
Clone the repository:
git https://github.com/mirovv/CoReTM-2.0.git cd CoReTM-2.0 - 
Install dependencies:
npm install
 - 
Start the development server:
npm start
Note: The application should now be running on http://localhost:3000.
 - 
Build the project:
npm run build
 - 
Eject the project:
npm run eject
Note: This is a one-way operation. Once you eject, you can't go back!
 
- 
Importing a Model:
- Navigate to the Import page.
 - Upload a JSON file containing the model.
 - If the parsing is successful, you will be redirected to the Model page where the model is displayed.
 - Continue with the analysis or change the model.
 - Export the threat model to a JSON.
 
 - 
Creating a New Model:
- Navigate to the Create page.
 - Provide the necessary details to create a new model.
 - Save the model and proceed with the analysis.
 - Export the threat model to a JSON.
 
 
- Browser:
- This tool was developed using Google Chrome browser.
 - Functionality and compatibility with other browsers is not guaranteed.