demkom58 / springram

Springram is framework for Telegram based on Spring Framework and Spring Boot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forks stars issues license jitpack

Springram Logo

Springram

Springram is a telegram framework based on the Spring framework and Spring Boot. It gives you the ability to use controllers like in spring web-mvc.

This framework based on rubenlagus' TelegramBots that is Java implementation of Telegram API.

How to use

To understand how to work with this framework, you can see the wiki section.

Maven

Add jitpack repository to your pom.xml, like this:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

Then add springram-core dependency and spring-boot, if you don't have it already.

<dependencies>
    <dependency>
        <groupId>com.github.demkom58</groupId>
        <artifactId>springram-core</artifactId>
        <version>0.5-SNAPSHOT</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter</artifactId>
    </dependency>
</dependencies>

If you want to use Spring security methods then you should add springram-core and spring-security dependencies.

<dependencies>
    <dependency>
        <groupId>com.github.demkom58</groupId>
        <artifactId>springram-security</artifactId>
        <version>0.5-SNAPSHOT</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-security</artifactId>
    </dependency>
</dependencies>

Gradle

Add jitpack repository to your build.gradle, like this:

repositories {
    maven { url 'https://jitpack.io' }
}

Then add springram-core dependency and spring-boot, if you don't have it already.

dependencies {
    implementation 'com.github.demkom58:springram-core:0.5-SNAPSHOT'
    implementation 'org.springframework.boot:spring-boot-starter'
}

If you want to use Spring security methods then you should add springram-core and spring-security dependencies.

dependencies {
    implementation 'com.github.demkom58:springram-security:0.5-SNAPSHOT'
    implementation 'org.springframework.boot:spring-boot-starter-security'
}

About

Springram is framework for Telegram based on Spring Framework and Spring Boot.

License:MIT License


Languages

Language:Java 100.0%