Skip to content

JSWesterfield/platform-beta-test-app

Repository files navigation

Next-gen Slack platform project template - Reverse String

This repo contains a sample project and embedded lightweight SDK of a Typescript based project for the new Deno runtime.

The main file that brings it all together is the project.ts file. So far functions, workflows, triggers and tables are supported and those should each be created in a file per, under each corresponding directory. functions/reverse.ts has a simple sample. After you create a new function or workflow make sure you add it to the Project object in project.ts.

Setup

Create a new project using this as repo as a template.

slack create -t slackapi/deno-reverse-string

Running it locally

slack run

Deploying to Slack's Hosting

slack deploy

Testing

You can write tests for your function, see functions/reverse_test.ts for a sample. Test base filenames should be suffixed with _test. To run tests just run:

slack deno test

Releases

No releases published

Packages

No packages published