lrnzlo / ts-serverless-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSTALLATION

⚠️ NOTICE:

This package is setup to be used with serverless framework connected to (aws)[https://www.serverless.com/framework/docs/providers/aws/].

To set up with other provider please refer to serverless framework docs.

In order to use this template pleas sign up to aws and follow the instruction to configure your profile via aws-cli or with other options as explain in sls docs.

After that run

yarn sls:deploy:dev

This may take a while when prompted with an URL try to send a GET request via API platform of your choice such as Postman or Insomnia or via

curl GET URL/RETURNED/FROM/YARN/SLS:DEPLOY:DEV

This should return 'Hello, World!'

Dependecies Docs

A framework to abstract deployment fatique on serverless service such as Aws, Azure etc...

Like dotenv but much safer! Check if env variable is fill or not.

Lint your code. Feel free to play around with the rule.

Jest test framework but for typescript.

Runtime for Typescript.

Typescript Docs

About


Languages

Language:TypeScript 72.7%Language:JavaScript 24.4%Language:Shell 2.9%