31K Followers
·
Follow

More flexible and powerful than ever, with greedy catchall syntax, and legacy server migration with @proxy

Image for post
Image for post

OpenJSF Architect powers thousands of real production serverless applications all over the world. We continue to hear how valuable folks find its focused, direct, stable, lock-in-free approach to building blazing fast modern web apps without ever having to manage a single server.

Today we’re announcing Architect 8 (El Chupacabra), which adds the newest Architect pragma, @proxy, and makes @http routes even more powerful with three new additions!

Create your first serverless app in <60 seconds!

Want to give it a go? Here’s the super quickstart, no AWS credentials required:

Image for post
Image for post

First: npm init @architect ./your-app-name
Then: npx arc sandbox
That's it!

Ok, on to the new stuff.

Catchall syntax

A powerful new @http primitive, catchall syntax (*) allows Architect routes to capture all paths. For example, say you want to handle all get requests to your entire RESTful API in a single endpoint. Now with catchall syntax, you can simply define get /api/*, and all get requests to /api/category/123/item/456 or /api/categories or /api/sellers/789 will all be sent to your get /api/* handler. …


By popular demand: API Gateway HTTP APIs are now the default in Architect serverless apps

Image for post
Image for post

OpenJSF Architect now powers thousands of serverless applications all over the world. Folks continue to tell us they value its focused, direct, stable, lock-in-free approach to building blazing fast modern web apps without ever having to manage a single server.

Today we’re extremely excited to announce Architect 7 (Chupacabra), a major step forward in building serverless web apps and APIs with AWS.

Chupacabra now deploys AWS API Gateway v2.0 (aka HTTP) APIs by default, and ships with a rewrite of Architect’s local development environment, Sandbox. …


Image for post
Image for post
Photo by Carly Reeves

Terms like master-slave carry powerful implications of racial supremacy and oppression, and have no place in our lexicon. Efforts across our industry are rightfully underway to retire such references to the dustbin of history, where they belong.

Although Git and GitHub still name branches master by default (for now), moving your repos away from the master branch name is relatively easy. In this guide we’ll rename it main (or you can choose whatever you prefer). Some other ideas that have been bandied about include: default, dev, devel, primary, prod, release, and trunk.

Checklist

First, make sure you’ve gone over the following checklist to ensure you won’t be introducing any tricky…

About

Ryan Block

Co-founder / product @Begin. Fighter of entropy. Master photobomber. Citizen. Sic transit gloria mundi.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store