Quickstart

Architect is a simple framework for building and delivering powerful Functional Web Apps (FWAs) on AWS

Create a new project

Assuming Node.js 14+ is installed, open your terminal and create a new Architect project:

Bash/cmd.exe
npm init @architect your-app
PowerShell
npm init "@architect" your-app

Start the local dev server:

cd your-app
npx arc sandbox

Cmd / Ctrl + c exits the sandbox

Deploy to AWS

Deploy to your built-in staging environment:

npx arc deploy

Protip: create additional named development environments with the --name flag

Ship to your built-in production environment:

npx arc deploy --production

Be safe! Set the ARC_APP_SECRET environment variable in production to secure your HTTP sessions; more information in the env CLI reference