Skip to content

flmn/http-api-demo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

HTTP API Demo

一个演示使用 Spring Boot 实现 HTTP API 的例子。1.0 版 PPT 在工程 doc 目录里。持续更新的在线版地址:HTTP 接口设计

相关文章:

运行方法

运行如下命令,编译运行 demo。

git clone https://github.com/flmn/http-api-demo.git
cd http-api-demo
./gradlew build
build/libs/http-api-demo-1.2.0.jar

开发说明

在项目目录运行如下命令,生成 Idea 工程文件。

./gradlew idea

用 Idea 打开 http-api-demo.ipr 工程文件。

!注意事项!

1.1.0 版本增加了使用 redis 保存 session,请确保在 localhost 的 6379 端口运行着 redis,并且没密码。修改配置请参见 config/application.yml 配置文件。

否则项目运行会出错。

更多信息

  • 请关注公众号: architect-xnq

architect-xnq

  • 或者添加私人微信: pisystem

pisystem

About

一个演示使用 Spring Boot 实现 HTTP API 的例子

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages