The simplest, most powerful way to build modern applications

Instantly create powerful serverless JS, Python, and Ruby apps

Architect provides everything you need to build fast, modern, massively scalable cloud apps with low code, clear and terse config, zero ceremony, and no lock-in.


Try it in 30 seconds:

1. Install Architect

npm install -g @architect/architect # omit -g to install to an existing project

2. Run [npx] arc init ./your-app-name to generate a basic project:

/
├── src/
│  └── http
│     └── get-index
│        ├── config.arc
│        └── index.js
└── app.arc

3. Check out your first app.arc file & HTTP function!

# /path/your-app-name/app.arc
@app
your-app-name

@http
get /

# @aws
# profile default
# region us-west-1

Node

// /project/path/src/http/get-index/index.js
exports.handler = async function http(request) {
  return {
    statusCode: 200,
    headers: {'content-type': 'text/html; charset=utf-8;'},
    body: '<h1>Hello World! 🎉</h1>'
  }
}

Ruby

# /project/path/src/http/get-index/index.rb
def handler(request, context)
  {
    statusCode: 200,
    headers: {'content-type': 'text/html; charset=utf-8;'},
    body: '<h1>Hello World! 🎉</h1>'
  }
end

Python

# /project/path/src/http/get-index/index.py
def handler(request, context):
    headers = {'content-type': 'text/html; charset=utf-8;'}
    return {'statusCode': 200, 'headers': headers, 'body': '<h1>Hello World! 🎉</h1>'}

4. Preview your app

Run: [npx] arc sandbox, then visit http://localhost:3333 to view your Lambda(s) running locally.

5. Ship it!

That's all you need to ship your first serverless app (to staging)!

Ensure you've met the system prerequisites, then run: arc deploy.

Your new app will be online within seconds.

Want to talk about what you just made?

Join the Architect community on Slack!


Next: Follow the quickstart