The simplest, most powerful way to build serverless applications
Declaratively define next generation cloud infra with plain text. Build database backed web apps rapidly. Execute long running background tasks (15min), queues, and scheduled jobs. All open source.
⏱ Deploy in seconds with first class support for staging
and production
envs
💻 Work locally while completely offline with a speedy in-memory database
💓 Primitives, not frameworks: define app architecture agnostic of vendor arcana
💾 Version control your architecture and provision cloud infra in minutes from an .arc
manifest
Leverage powerful Amazon Web Services serverless primitives without frustrating config:
- Lambda cloud native functions for compute
- API Gateway for HTTP
- Route53 for DNS
- CloudFront for CDN
- S3 for static assets
- Simple Notification Service for event pub/sub functions
- Simple Queue Service for queue functions
- CloudWatch Events for scheduled functions
- DynamoDB for data persistence, querying and trigger functions
- Parameter Store for environment variables
Install
npm i @architect/architect
Everything starts with an .arc
file:
# this is an .arc file
@app
testapp
@http
get /
get /hellos
post /hello
npx create
generates Lambda function code and deploys it:
/
├── src
│ └── http
│ ├── get-index/
│ ├── get-hellos/
│ └── post-hello/
├── .arc
└── package.json
The generated function code in /src/http/get-index/index.js
looks like this:
exports.handler = async function http(request) {
return {
type: 'text/html',
body: '<h1>Hello World! 🎉</h1>'
}
}
And npx deploy
ships iterations on your code to the cloud in seconds.