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, and zero ceremony.
Try it in 30 seconds:
1. Install Architect
npm install -g @architect/architect
2. Run mkdir your-app-name && arc init your-app-name to generate a basic project:
/
├── src/
├── http
│ └── get-index
│ ├── .arc-config
│ └── index.js
└── .arc
3. Check out your first .arc file & HTTP function!
# /project/path/.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 {
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)
{
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 {'headers': headers, 'body': '<h1>Hello World! 🎉</h1>'}
That's it! Ready to ship?
Ensure you've met the system prerequisites and 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!