#Lang Adventure Backend
Go to the function folder and run the commands below.
Function:
serverless function deploy
Endpoint:
serverless endpoint deploy
Go to the project resources and execute:
serverless resources deploy
Go to the project root and execute:
sls function run <componentName>/<moduleName>/<functionName>
This command will use the event.json file as the input of the function.
In order to keep the code clean and avoid "weird" behavior from js use lint to spot errors.
jslint --nomen '**/*.js'
To download jslint go here: https://github.com/reid/node-jslint