Skip to content

merrymake/typescript-basic-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-template

This is the basic template for a Merrymake service.

Explanation

The merrymake.json file defines one hook main/hello, and maps it to the action handleHello.

The index.ts file defines the handler handleHello.

The handler first parses the payload, then replies with a hello-message, including the payload.

How to deploy it

First push the code, either through Git or with the command

$ mm deploy

If you don't have a key yet, make one now:

$ mm key

Now you can trigger using:

$ curl --silent -d "World" -H "Content-Type: text/plain" https://rapids.merrymake.io/[key]/hello
Hello, World!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published