4 ms·
Excited to see this on HN! Many common use-cases (APIs, Websites, Websocket backends, Scheduled tasks) are perfect for serverless architectures. Serverless Co
by ac360 7y ago
Excited to see this on HN!
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 https://twitter.com/goserverless/status/1156977112147845120
---
Here's a quick-start guide...
Install Serverless Framework
• npm i -g serverless
• https://github.com/serverless/serverless https://github.com/serverless/serverless
---
Pick a template:
• Serverless Fullstack App - https://github.com/serverless/components/tree/master/templates/8-fullstack-application https://github.com/serverless/components/tree/master/templat...
• Serverless Websockets Backend - https://github.com/serverless/components/tree/master/templates/7-backend-websocket https://github.com/serverless/components/tree/master/templat...
• Serverless API Backend - https://github.com/serverless/components/tree/master/templates/6-backend-monolith https://github.com/serverless/components/tree/master/templat...
• Serverless Website - https://github.com/serverless/components/tree/master/templates/4-website https://github.com/serverless/components/tree/master/templat...
• Scheduled Task - https://github.com/serverless/components/tree/master/templates/3-scheduled-task https://github.com/serverless/components/tree/master/templat...
• & More - https://github.com/serverless/components/tree/master/templates/3-scheduled-task https://github.com/serverless/components/tree/master/templat...
---
Make sure you have AWS credentials set up
• https://github.com/serverless/components#credentials https://github.com/serverless/components#credentials
---
Hopefully these enable everyone to build more and manage less.
Enjoy,
Team @ Serverless.com
- Ezku 7y ago> React-like experience 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. :)
- ac360 7y agoSure. 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. https://github.com/serverless/components#reusability https://github.com/serverless/components#reusability
- ac360 7y agoWe updated the Template links. The correct ones can be found here: Pick a template: • Serverless Fullstack App - https://github.com/serverless/components/tree/master/templates/fullstack-application https://github.com/serverless/components/tree/master/templat... • Serverless Websockets Backend - https://github.com/serverless/components/tree/master/templates/backend-websocket https://github.com/serverless/components/tree/master/templat... • Serverless API Backend - https://github.com/serverless/components/tree/master/templates/backend-microservices https://github.com/serverless/components/tree/master/templat... • Serverless Website - https://github.com/serverless/components/tree/master/templates/website https://github.com/serverless/components/tree/master/templat... • Scheduled Task - https://github.com/serverless/components/tree/master/templates/scheduled-task https://github.com/serverless/components/tree/master/templat... • & More - https://github.com/serverless/components/tree/master/templates https://github.com/serverless/components/tree/master/templat...