Skip to content

LoGGGG2402/Project1

Repository files navigation

Project1

Slack Controller with Airtable Sync

Note: This project written and tested on Java SDK 20.0.1, so it is recommended to use the same version to avoid any issues.

1.Reload pom.xml file to download all dependencies and plugins needed for the project.

2.Fill Slack token, Airtable token and Airtable base id in config.json file:

       - Please get Slack User token with below permissions to be able to use all features of the application:

Slack Scopes

       - Please get Airtable token with below permissions to be able to use all features of the application:

airTableScope.png

       - Please get Airtable base id from your airtable base and make sure that Table and Field has name in fields will match with fields, otherwise you will get an error. You can refill your base configuration in fields, or you drop all tables and fields not match with fields file and this application will create them exactly as in fields automatically.

3.To start the application, run main method in class MainUI.

List of dependencies used in the project:

    <dependencies>
    
        <!-- use for parsing json files-->
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.10.1</version>
        </dependency>


        <!--  use for make http requests to airtable api -->
        <dependency>
            <groupId>org.apache.httpcomponents.client5</groupId>
            <artifactId>httpclient5</artifactId>
            <version>5.2.1</version>
        </dependency>

        <!-- use for make requests to slack api -->
        <dependency>
            <groupId>com.slack.api</groupId>
            <artifactId>slack-api-client</artifactId>
            <version>1.29.2</version>
        </dependency>

        <!-- use for make xlsx files -->
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
            <version>5.2.3</version>
        </dependency>
    
    </dependencies>

The below is the project class diagram:

classDiagram.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages