Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 818 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 818 Bytes

Safety Case Workspace

This project provides a FastAPI backend for modeling Goal Structuring Notation (GSN) safety cases and System-Theoretic Process Analysis (STPA) artifacts. It offers REST endpoints to manage GSN nodes, STPA hazards, control actions, unsafe control actions, mitigation constraints, and evidence artifacts.

Getting started

  1. Install dependencies

    pip install -r requirements.txt
  2. Run the API

    uvicorn app.main:app --reload
  3. Explore the docs

    Once the server is running, open http://127.0.0.1:8000/docs to try the interactive OpenAPI documentation.

The application stores data in a local SQLite database (safetycase.db) located in the project root. You can reset the data by deleting this file and restarting the application.