All Projects → sofn → App Engine

sofn / App Engine

Licence: apache-2.0
分布式App服务端快速开发框架

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to App Engine

Okta Blog Archive
Okta Developer Blog
Stars: ✭ 74 (-76.36%)
Mutual labels:  gradle, spring-boot, spring
Spring Boot Angular2
spring boot backend, angular2 frontend with webpack, typescript, sass, bootstrap4, karma, jasmine
Stars: ✭ 396 (+26.52%)
Mutual labels:  gradle, spring-boot, spring
Trampoline
Admin Spring Boot Locally
Stars: ✭ 325 (+3.83%)
Mutual labels:  gradle, spring-boot, spring
Downlords Faf Client
Official client for Forged Alliance Forever
Stars: ✭ 121 (-61.34%)
Mutual labels:  gradle, spring-boot, spring
Mmorpg
springboot编写的轻量级高性能mmorpg手游服务端框架,基本功能逐渐完善中。
Stars: ✭ 309 (-1.28%)
Mutual labels:  gradle, spring-boot, spring
Hex Arch Kotlin Spring Boot
Reference JVM multi module project for a reactive micro service and lambda using a hexagonal architecture, DDD, Kotlin, Spring Boot, Quarkus, Lambda, Gradle.
Stars: ✭ 83 (-73.48%)
Mutual labels:  gradle, spring-boot, spring
Ms Backend Boilerplates
Boilerplate for Your Server Side(Backend) Application, Java | Spring(Boot, Cloud) | Node.js(Express, Koa, Egg) | Go | Python | DevOps 💫 服务端项目模板
Stars: ✭ 394 (+25.88%)
Mutual labels:  gradle, spring-boot, spring
Spring Cloud Microservices Development
Spring Cloud Microservices Development.《Spring Cloud 微服务架构开发实战》
Stars: ✭ 106 (-66.13%)
Mutual labels:  gradle, spring-boot, spring
Webfluxtemplate
Spring Webflux template application with working Spring Security, Web-sockets, Rest, Web MVC, and Authentication with JWT.
Stars: ✭ 107 (-65.81%)
Mutual labels:  gradle, spring-boot, spring
Atom
Java course materials
Stars: ✭ 293 (-6.39%)
Mutual labels:  gradle, spring-boot, spring
Micro Company
Rest-full, Hipermedia-based distributed application. Spring boot & cloud. Angular. CQRS. Eventsourcing. Axonframework. Microservices. Docker. CloudFoundry
Stars: ✭ 307 (-1.92%)
Mutual labels:  spring-boot, spring
21 Points
❤️ 21-Points Health is an app you can use to monitor your health.
Stars: ✭ 244 (-22.04%)
Mutual labels:  gradle, spring-boot
Spring Petclinic Kotlin
Kotlin version of Spring Petclinic
Stars: ✭ 227 (-27.48%)
Mutual labels:  gradle, spring-boot
Uportal
Enterprise open source portal built by and for the higher education community.
Stars: ✭ 221 (-29.39%)
Mutual labels:  gradle, spring
Org.openwms
Open Warehouse Management System
Stars: ✭ 258 (-17.57%)
Mutual labels:  spring-boot, spring
Spring Boot Demo
Spring Boot & Spring Cloud & Spring Security Demo Case(Spring学习示例实战项目)
Stars: ✭ 255 (-18.53%)
Mutual labels:  spring-boot, spring
Spring Cloud Gateway Sample
Sample Spring Cloud Gateway Application
Stars: ✭ 268 (-14.38%)
Mutual labels:  spring-boot, spring
Spring 5 Book
Spring 5 Samples(Spring 5 案例大全/《Spring 5 开发大全》示例源码) covers Spring 5, Spring MVC, Spring WebFlux, Spring Boot and Spring Cloud.
Stars: ✭ 283 (-9.58%)
Mutual labels:  spring-boot, spring
Springcloudconfig
Stars: ✭ 290 (-7.35%)
Mutual labels:  spring-boot, spring
Ddd Java
Spring Boot + Java [ DDD Sample ]
Stars: ✭ 191 (-38.98%)
Mutual labels:  gradle, spring-boot

app-engine 是一个分布式的App服务端快速开发框架,包含了基本的权限认证、日志处理、接口防刷、系统监控等基本功能。 此框架围绕分布式服务系统构建,能够快速扩容,迎合微服务化,提供App服务端常用必备功能。

技术栈:

  1. Spring Boot / Spring MVC / Spring Data Jpa
  2. Gradle
  3. Java8
  4. Logback
  5. Lombok

功能列表:

  1. 认证方式: Basic、 Cookie、Header、内外网
  2. 统一错误处理、统一Json格式模板
  3. 接口请求日志统一处理
  4. 接口频次拦截
  5. 支持多数据源、主从分离
  6. 多Profile支持,Gradle、Spring、应用程序Profile整合
  7. 完善的系统监控
  8. 热部署
  9. 自动生成接口文档
  10. docker支持(gradle创建image、docker-compose)

环境配置

区分有三种环境dev、test、prod,不同环境会加载不同的配置文件

  1. Gradle环境配置: gradle.properties里设置profile
  2. Spring环境变量: application.yaml或application.properties里配置spring.profiles.active
  3. 应用内获取环境变量: spring注入: @Autowired Environment env 或手动解析spring配置文件(不依赖Spring)

数据源配置

  1. 如果安装了docker,直接执行 deploy/bin/init_redis.sh脚本
  2. 手动安装: redis: ip:127.0.0.1 port:6379 password:无

可执行jar包

运行 gradle clean jar assemble 会自动打可执行jar包,运行:

  1. java -jar deploy/build/libs/deploy-${version}.jar
  2. ./deploy/build/libs/deploy-${version}.jar 如需配置JVM等参数请修复deploy/config/deploy-${version}.conf并拷贝到可执行jar包相同目录,并修改${version}

发布jar/war包到私有仓库

  1. 修改build.gradle里uploadArchives的私有仓库地址、用户名、密码
  2. 执行 ./gradlew uploadArchives 命令

运行项目方式

  1. 执行: gradle run
  2. 执行运行: Application.java
  3. 执行: ./gradlew run,此方式不用安装gradle

checkstyle findbugs

  1. 指定 gradle check
  2. 在build/reports目录会生成相关报告文件

监控

接口文档

TODO

  • 完善注释
  • 完善文档
  • 添加单元测试、集成测试、压力测试
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].