Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 1.16 KB

File metadata and controls

60 lines (45 loc) · 1.16 KB
title Quickstart
category Get started
description Get started quickly with Architect

Architect is a simple framework for building and delivering powerful functional web apps on AWS

Create a new project

Assuming Node.js 16+ 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