Developers

Sharpen your Slack development skills through our new sample Tasks app

Go far beyond “hello world” by diving into our open-sourced, fully fleshed out sample app for Slack developers

작성자: Colm Doyle2021년 9월 15일Giacomo Bagnara의 일러스트

Whether you’re building a Slack App for the very first time, or you’re a seasoned pro at it, Bolt is one of the quickest ways to get up and running. Bolt is a server-side framework created by Slack that offers a standardized, high-level interface to simplify and speed up development of Slack apps using one of our officially supported languages: Javascript, Python and Java.

By design, Bolt is a flexible framework, built to fit into your way of coding. But if you’ve never used it before, you might ask yourself what’s the best way to structure your code so that you have a solid foundation to build your app upon?

Introducing Tasks App

Today we’re introducing a new code sample to answer that question. One that shows you what an entire joined up codebase can look like and not just a snippet that illustrates a particular feature. We call this new sample Tasks App.

Tasks App is very opinionated, with a specific folder structure and approach to separation of concerns. Our aim with this structure is to emphasize readability and help establish consistent patterns, with a particular focus on building a testable app. We’re starting with NodeJS, but plan to add both Python and Java versions that are just as opinionated.

And whilst we believe this opinion is well informed, we also want to hear from you. We encourage you to:

  • Contribute to the development of the Tasks app
  • Open issues and pull requests where you believe your approach makes more sense
  • Ask about anything we haven’t covered or highlight where we’ve missed the opportunity to include a useful library that makes Slack App development easier

Tasks App in Node already supports most of our major features, including Shortcuts, Modals, App Home and more. But it does so in a practical way that adds features that make sense in the context of a Slack first to-do list app. As we add new features to the Platform, we’ll also add them to Tasks App, so you’ll have access to a constantly evolving reference implementation to see what we consider best practice for that feature.

What’s to come for Tasks App

Whilst the Tasks App will never match the likes of Jira Cloud, Asana or Workstreams in terms of the depth and breadth of functionality, it will have features that make sense for a simple todo list app. The focus of adding features will be how useful they are in that context, not whether there’s a particular API feature to demonstrate, meaning it won’t leverage every part of the API. But that’s part of the journey and how we hope to demonstrate real world usage of our Platform.

In addition to the codebase being available on GitHub with a permissive open source license, every two weeks we’ll release video walkthroughs of parts of the codebase where we discuss the rationale behind our choices and explanations of how to incorporate features of the API into your App, all on our YouTube channel.

We hope this new type of sample makes your development process simpler, more pleasant and more productive – and we can’t wait to see what we’ll build together, so head over to the GitHub repository and check it out!

이 포스트가 유용했나요?

0/600

훌륭해요!

피드백을 주셔서 감사합니다.

알겠습니다!

피드백을 주셔서 감사합니다.

죄송합니다. 문제가 발생했습니다. 나중에 다시 시도해주세요.

계속 읽기

Developers

Slack 파트너의 고객 유지와 성장 가속하기

Frontiers에서 발표된 플랫폼 기능을 확인하고 어떻게 개발자가 더 많은 사람들에게 도달하고 참여를 유도할 수 있는지 알아보기

Developers

더 빠르고 간편해진 Slack 앱을 소개합니다

다양한 차세대 기능을 통해 사용자 지정 Slack 앱을 더 쉽게 구축, 관리, 및 배포할 수 있습니다.

혁신

포춘 선정 100대 기업의 약 80%가 Slack Connect를 사용하여 디지털 본사를 구축하는 이유

고객 관계 강화 및 외부 파트너와의 원활한 커뮤니케이션 구축

새 소식

Dreamforce에서 공개된 Slack 제품의 새로운 혁신

더 유연하고 포용적이며 생산적인 업무 방식을 지원하는 디지털 본사 만들기