/serverless-101

Primary LanguageRubyMIT LicenseMIT

serverless-101

Create your first function

fn init --runtime node nodefn

Deploy your application

# create a application to contain functions
fn create app demoapp
# deploy a function to local fn server
fn --verbose deploy --app demoapp --local

Call your function

fn invoke demoapp nodefn