sofn / App Engine
Licence: apache-2.0
分布式App服务端快速开发框架
Stars: ✭ 313
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
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
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
app-engine 是一个分布式的App服务端快速开发框架,包含了基本的权限认证、日志处理、接口防刷、系统监控等基本功能。 此框架围绕分布式服务系统构建,能够快速扩容,迎合微服务化,提供App服务端常用必备功能。
技术栈:
- Spring Boot / Spring MVC / Spring Data Jpa
- Gradle
- Java8
- Logback
- Lombok
功能列表:
- 认证方式: Basic、 Cookie、Header、内外网
- 统一错误处理、统一Json格式模板
- 接口请求日志统一处理
- 接口频次拦截
- 支持多数据源、主从分离
- 多Profile支持,Gradle、Spring、应用程序Profile整合
- 完善的系统监控
- 热部署
- 自动生成接口文档
- docker支持(gradle创建image、docker-compose)
环境配置
区分有三种环境dev、test、prod,不同环境会加载不同的配置文件
- Gradle环境配置: gradle.properties里设置profile
- Spring环境变量: application.yaml或application.properties里配置spring.profiles.active
- 应用内获取环境变量: spring注入: @Autowired Environment env 或手动解析spring配置文件(不依赖Spring)
数据源配置
- 如果安装了docker,直接执行 deploy/bin/init_redis.sh脚本
- 手动安装: redis: ip:127.0.0.1 port:6379 password:无
可执行jar包
运行 gradle clean jar assemble 会自动打可执行jar包,运行:
- java -jar deploy/build/libs/deploy-${version}.jar
- ./deploy/build/libs/deploy-${version}.jar 如需配置JVM等参数请修复deploy/config/deploy-${version}.conf并拷贝到可执行jar包相同目录,并修改${version}
发布jar/war包到私有仓库
- 修改build.gradle里uploadArchives的私有仓库地址、用户名、密码
- 执行 ./gradlew uploadArchives 命令
运行项目方式
- 执行: gradle run
- 执行运行: Application.java
- 执行: ./gradlew run,此方式不用安装gradle
checkstyle findbugs
- 指定 gradle check
- 在build/reports目录会生成相关报告文件
监控
- 健康检查: http://localhost:7002/health
- 次数监控: http://localhost:7002/metrics
- APP信息: http://localhost:7002/info
- dump信息: http://localhost:7002/dump
- 环境信息: http://localhost:7002/env
- 性能监控: http://localhost:8080/javasimon
- 数据库监控: http://localhost:8080/druid
- Tomcat监控: http://localhost:7002/jolokia/read/Tomcat:type=Connector,port=8080
接口文档
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].