# Serverless Demo To better help user understand and start use serverless components in development, we like to provide demos to help user have a glance of the real case useage demos. ## multi-scf component Demo multi-scf is the components that allow users to define multiple functions in one components, and this will help user to create more complex scf APP easily. ### index (GET /) The default path `/` returns the successful execute message to user. ```json= { message: "Tencent SCF execute successful!", input: event, } ``` ### hello (POST /hello/{name}) The `/hello/{name}` path is the demo help user to start working with dynamic routes, queries and data ```json= { message: `Hello from ${name || Anonymous}`, body: event.body || null queries: event.queryString || null } ``` ## scf component Demo // TBU ## full-stack component Demo // TBU | | Non-SLS | Components | Traditional | Template | Other | | ---------------------- | ----------- | ---------- | ----------- | ---------- | ----------- | | isChinaUser | - | true | - | true | - | | root serverless.yml | false | true | true | true | true | | field: components | - | true | false | false | - | | field: services | - | - | true | false | - | | > deployable | - | true | true | false | - | | | | | | | | | nest serverless.yml | - | - | - | least 1 | | | nest field: components | - | | | all true | - | | nest field: services | - | | | all false | - | | | | | | | | | use CLI | traditional | components | traditional | components | traditional | | | | | | | | true: means need to exist . false: meens need to not exist. -: means no need to consider