serverless/docs/README.md

3.9 KiB

Documentation

Welcome to the Serverless v1.0 documentation.

Here you'll find all the necessary information you need to learn and understand Serverless. You'll find documentation on how to build next generation Serverless applications. Furthermore we'll deep dive into the internals of Serverless so that you know how it works and how you can extend and modify it!

Quick start

Follow these simple steps to install the alpha, create and deploy your first service, run your function and remove the service afterwards.

  1. npm install serverless@1.0.0-alpha.1
  2. serverless create --name first-service --provider aws
  3. serverless deploy
  4. serverless invoke --function hello --stage dev --region us-east-1
  5. serverless remove --stage dev --region us-east-1

In depth

FAQ

Where do I start when I want to write apps with Serverless?

You should take a look at the tutorials where you will find different guides which will help you with your first application (there's also a "Your first service" tutorial).

I want to integrate provider X. How does this work?

You can implement your provider of choice with he help of plugins. Start by reading the plugin concept to get an overview how plugins work. After that you might want to take a look at the AWS Deploy plugin which will explain to you how the AWS provider is implemented / works.

We'd recommend to take a look at the different sources of the plugins as they show implementation details and best practices which will help you integrate your provider easily.

How does Serverless work?

The concepts folder in the docs will help you understand how Serverless works.

I found a bug / encountered a strange error

Please take a look at our issues to see if someone else has faced the same problem.

Contributions are always welcomed! Just open up a new issue to start the discussion or submit a pull request which fixes the bug.