Skip to content

Backend from Lang Adventure game. Utilizes "serverless" and is built on top of AWS services.

Notifications You must be signed in to change notification settings

jonatasschagas/langadventurebackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Lang Adventure Backend

Deploying function/endpoint

Go to the function folder and run the commands below.

Function: serverless function deploy

Endpoint: serverless endpoint deploy

Deploying resources (policies, etc):

Go to the project resources and execute:

serverless resources deploy

Testing the function

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.

Please use lint!

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

More documentation here:

http://docs.serverless.com/docs/commands-overview

About

Backend from Lang Adventure game. Utilizes "serverless" and is built on top of AWS services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published