1 Star 0 Fork 1

hejuncheng1/springboot-rest-api-angularjs-https

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

REST HTTPS API with Spring Boot and Angular JS.

Build Status Coverage Status codebeat badge

Technology stack:

  • Maven;
  • FindBugs;
  • Travis CI;
  • Tomcat embedded;
  • Spring Boot;
  • JUnit;
  • Mockito;
  • Logback (as SLF4J facade);
  • Spring Web;
  • Spring Data JPA;
  • Hibernate (as JPA implementation);
  • MySQL Relation Database;
  • Spring Security (as basic authentication);
  • Angular JS, HTML, CSS.

To run this application use:

mvn spring-boot:run

This is what my REST API does:

Go to https://localhost:8443 to test and must specify a username: user and password: user

  • POST request to /api/v1/objects/ with a "object" object as JSON creates a new "object";
  • GET request to /api/v1/objects/ returns a list of "objects";
  • GET request to /api/v1/objects/1 returns the "object" with ID 1;
  • PUT request to /api/v1/objects/3 with a "object" object as JSON updates the "object" with ID 3;
  • DELETE request to /api/v1/objects/4 deletes the "object" with ID 4;
  • DELETE request to /api/v1/objects/ deletes all the "objects".

The view in the Postman:

https://localhost:8443/api/v1/objects

Message body: {"title":"Absorber", "value":"123123"}

alt tag

Open browser and browse at: https://localhost:8443

alt tag

To run the SonarQube use:

mvn clean install sonar:sonar

空文件

简介

springboot-rest-api-angularjs-https from https://github.com/OKaluzny/springboot-rest-api-angularjs-https.git 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hejuncheng1/springboot-rest-api-angularjs-https.git
git@gitee.com:hejuncheng1/springboot-rest-api-angularjs-https.git
hejuncheng1
springboot-rest-api-angularjs-https
springboot-rest-api-angularjs-https
master

搜索帮助