by ac360 · 7y ago · 0 comments
Many common use-cases (APIs, Websites, Websocket backends, Scheduled tasks) are perfect for serverless architectures.
Serverless Components give you a React-like experience to deploy them more easily than ever.
---
Short video preview: https://twitter.com/goserverless/status/1156977112147845120
---
Here's a quick-start guide...
Install Serverless Framework
• npm i -g serverless
• https://github.com/serverless/serverless
---
Pick a template:
• Serverless Fullstack App - https://github.com/serverless/components/tree/master/templat...
• Serverless Websockets Backend - https://github.com/serverless/components/tree/master/templat...
• Serverless API Backend - https://github.com/serverless/components/tree/master/templat...
• Serverless Website - https://github.com/serverless/components/tree/master/templat...
• Scheduled Task - https://github.com/serverless/components/tree/master/templat...
• & More - https://github.com/serverless/components/tree/master/templat...
---
Make sure you have AWS credentials set up
• https://github.com/serverless/components#credentials
---
Hopefully these enable everyone to build more and manage less.
Enjoy,
Team @ Serverless.com
Pick a template:
• Serverless Fullstack App - https://github.com/serverless/components/tree/master/templat...
• Serverless Websockets Backend - https://github.com/serverless/components/tree/master/templat...
• Serverless API Backend - https://github.com/serverless/components/tree/master/templat...
• Serverless Website - https://github.com/serverless/components/tree/master/templat...
• Scheduled Task - https://github.com/serverless/components/tree/master/templat...
• & More - https://github.com/serverless/components/tree/master/templat...
Can you elaborate on what you mean by this? As a user of both serverless and react I’m afraid I’m failing to see your point here.
Other than that - exciting stuff. I’ve been eagerly waiting for the ability to build some more powerful abstractions, preferably with as little yaml as possible. :)
Serverless components can be used declaratively (YAML) or programmatically (JavaScript).
It's the JavaScript experience that takes a lot of inspiration from React when you wish to write your own reusable Serverless Component.