Quickstart
Architect is a simple tool to build and deliver powerful cloud function-based web apps and APIs
Assuming Node.js 14+ is installed, open your terminal and create a new Architect project:
npm init @architect new-app
Start the local dev server:
cd new-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 theenv
CLI reference