Tutorial 1: Your First Architecture Model
In this tutorial, you will create a simple model linking a customer actor to a web application and database.
1. Create model.ea
workspace simple_app "Simple Web Application" {
actor user_shopper "Online Shopper" {
role "Customer"
is_external true
}
app web_store "Web Storefront" {
technology "Next.js / Node.js"
internet_facing true
relationships {
this serves user_shopper "Provides product catalog and checkout"
this writes data_orders "Persists customer orders"
}
}
data_object data_orders "Order Records" {
classification "Confidential"
}
}
2. Validate Your Model
Run nexusea validate model.ea to verify syntax and relationships:
nexusea validate model.ea
Congratulations! You have authored and verified your first Scapius model. Continue to Tutorial 2: Layered Architecture.