Code Monkey home page Code Monkey logo

http-api-demo's Introduction

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

http-api-demo's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.