All Projects → bmstefanski → spring-discord-bot

bmstefanski / spring-discord-bot

Licence: Unlicense license
Discord all-purpose bot, made using Spring Boot, JPA, Hibernate, REST, HikariCP. Written for fun, do not take this serious.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to spring-discord-bot

Spring Boot Mysql Rest Api Tutorial
Building a Restful CRUD API using Spring Boot, Mysql, JPA and Hibernate
Stars: ✭ 279 (+973.08%)
Mutual labels:  jpa, hibernate, spring-data-jpa
vogon-java
Vogon - A simple personal finance tracker using Spring Boot and AngularJS
Stars: ✭ 16 (-38.46%)
Mutual labels:  jpa, hibernate, spring-data-jpa
spring-data-jpa-mongodb-expressions
Use the MongoDB query language to query your relational database, typically from frontend.
Stars: ✭ 86 (+230.77%)
Mutual labels:  jpa, hibernate, spring-data-jpa
Angularjs Springmvc Sample Boot
A RESTful sample using Spring Boot, Spring MVC, Spring Data and Angular/Bootstrap.
Stars: ✭ 309 (+1088.46%)
Mutual labels:  jpa, hibernate, spring-data-jpa
Spring-Boot-2
Spring Boot 2.x examples
Stars: ✭ 33 (+26.92%)
Mutual labels:  jpa, hibernate, spring-data-jpa
Jplusone
Tool for automatic detection and asserting "N+1 SELECT problem" occurences in JPA based Spring Boot Java applications and finding origin of JPA issued SQL statements in general
Stars: ✭ 91 (+250%)
Mutual labels:  jpa, hibernate, spring-data-jpa
Jpa Spec
A JPA Query By Specification framework.
Stars: ✭ 620 (+2284.62%)
Mutual labels:  jpa, hibernate, spring-data-jpa
Spring Framework Petclinic
A Spring Framework application based on JSP, Spring MVC, Spring Data JPA, Hibernate and JDBC
Stars: ✭ 251 (+865.38%)
Mutual labels:  jpa, hibernate, spring-data-jpa
doc
QuickPerf documentation: https://github.com/quick-perf/doc/wiki/QuickPerf
Stars: ✭ 22 (-15.38%)
Mutual labels:  hibernate, spring-data-jpa
SpringMVC-Hibernate
J2EE项目系列(二)--博客管理系统(Maven+SpringMVC+Hibernate以及附加分页和一对多查询功能)
Stars: ✭ 48 (+84.62%)
Mutual labels:  hibernate, spring-data-jpa
scikit-ci
Simpler and centralized CI configuration for Python extensions.
Stars: ✭ 15 (-42.31%)
Mutual labels:  travis-ci, appveyor
MiniDao
An powerful enhanced toolkit of SpringJdbc for simplify development
Stars: ✭ 200 (+669.23%)
Mutual labels:  jpa, hibernate
Ci Detector
Detect continuous integration environment and get information of current build
Stars: ✭ 138 (+430.77%)
Mutual labels:  travis-ci, appveyor
phoenix-hibernate-dialect
An Apache Phoenix Hibernate dialect
Stars: ✭ 20 (-23.08%)
Mutual labels:  jpa, hibernate
Tic
Tasks Integrating Continuously: CI-Agnostic Workflow Definitions
Stars: ✭ 135 (+419.23%)
Mutual labels:  travis-ci, appveyor
Ci Buildstats
Little widget to display AppVeyor, TravisCI, CircleCI, GitHub Actions or Azure Pipelines build history charts and other SVG badges.
Stars: ✭ 134 (+415.38%)
Mutual labels:  travis-ci, appveyor
random-jpa
Create random test data for JPA/Hibernate entities.
Stars: ✭ 23 (-11.54%)
Mutual labels:  jpa, hibernate
HaxeCI
An example of using CI for Haxe projects.
Stars: ✭ 45 (+73.08%)
Mutual labels:  travis-ci, appveyor
cibuildwheel
🎡 Build Python wheels for all the platforms on CI with minimal configuration.
Stars: ✭ 1,350 (+5092.31%)
Mutual labels:  travis-ci, appveyor
spring-data-jpa-demo
这是一个 Spring Data JPA 的 demo, 旨在演示大部分常用的使用方法。
Stars: ✭ 43 (+65.38%)
Mutual labels:  jpa, spring-data-jpa

Friendly Garbanzo

Discord all-purpose bot, made using Spring Boot, JPA, Hibernate, REST, HikariCP. Written for fun, do not take this serious

Services

Type Badges
Code quality: maintability-icon
Continuous Integration: travis-icon appveyor-icon

Endpoints

Method Optional query parameters Success status codes Error status codes
GET /api/users page, size 200
GET /api/users/by-id/{id} 200 404
GET /api/users/by-name/{name} 200 404

Features

  • Storing all user's data to mysql database
  • Public rest api without oauth
  • Github command, that shows infos about your github profile
  • Commit command - displays commits' count
  • Say command, that talks in json

Configuration

Create file named application.properties in your resource directory, with the following content:

# DATA SOURCE
spring.datasource.url=jdbc:mysql://localhost:3306/garbanzo
spring.datasource.username=root
spring.datasource.password=root
# JPA HIBERNATE
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.hibernate.use-new-id-generator-mappings=false
spring.jpa.open-in-view=false
# I18N
spring.messages.basename=locale/messages
spring.messages.encoding=UTF-8
spring.messages.fallback-to-system-locale=true
# JDA
jda.discord.token=your discord key
# JACKSON
spring.jackson.serialization.indent_output=true

Contributing

  • fork it
  • create your own branch, like so: command/xx/8ball, where xx are your initials.
  • commit and push your changes
  • create pull request
  • wait for the review

The first rule, the only rule, is that you need use Google Code Style

License

See the License file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].