File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
src/main/java/com/kaluzny/web Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/OKaluzny/springboot-rest-api-postgresql.svg?branch=master )] ( https://travis-ci.org/OKaluzny/springboot-rest-api-postgresql )
4
4
5
- ### Used tools:
5
+ ### Technology stack:
6
+
7
+ * Spring Boot;
8
+ * Spring MVC;
9
+ * Spring Security (as basic authentication);
6
10
* PostgreSQL database;
7
11
* Hibernate;
8
- * Basic authentication.
9
-
10
12
11
13
#####To run this application use:
12
14
@@ -16,8 +18,4 @@ mvn spring-boot:run
16
18
17
19
### The view in the Postman:
18
20
19
- ![ alt tag] ( http://i.piccy.info/i9/947bc7454a432e884035a14f4dd00320/1478693910/81237/1085055/rest1.jpg )
20
-
21
- ![ alt tag] ( http://i.piccy.info/i9/141ca6b46d15417c9b5d29664766bc73/1478694448/63256/1085055/rest2.jpg )
22
-
23
- ![ alt tag] ( http://i.piccy.info/i9/095db04eb447c347cd736bdba072777d/1478694493/64447/1085055/rest3.jpg )
21
+ ![ alt tag] ( http://i.piccy.info/i9/6fe13c87057a456bf9d25c151197c4d9/1479742734/78918/1085055/restpro.jpg )
Original file line number Diff line number Diff line change 10
10
import java .util .Collection ;
11
11
12
12
@ RestController
13
- @ RequestMapping ("/books" )
13
+ @ RequestMapping ("/api/ books" )
14
14
public class BookController {
15
15
16
16
private BookRepository repository ;
You can’t perform that action at this time.
0 commit comments