Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

slack-samples/deno-esrever-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next-gen Slack platform project template - Simple Demo using Reverse String

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

This is our single file solution for creating small, simple projects directly in the project.ts file to keep everything visible at a glance. Any new functions, workflows or triggers changes to the variable names must be represented in the Project object.

Setup

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

slack create -t slackapi/deno-simple

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

About

Initial implementations of a workflow that reverses strings

Resources

License

Stars

Watchers

Forks

Contributors