Kr Younger 2851629238 before move to github 6 年 前
.mvn/wrapper 2nd commit 6 年 前
.vscode bootstrap, thymeleaf 6 年 前
src before move to github 6 年 前
.gitignore 2nd commit 6 年 前
README.md mucking about 6 年 前
Weblogg.png arch image? 6 年 前
mvnw 2nd commit 6 年 前
mvnw.cmd 2nd commit 6 年 前
pom.xml bootstrap, thymeleaf 6 年 前

README.md

Weblogg

Build a simple blog app using spring and database. This uses Thymeleaf and Bootstrap for the web pages it generates. The overall architecture looks like this: web arch

Uses web pages for it.

This db is currently Postgres. The Mysql config is slightly different.

to POST a post http://localhost:8080/posts // mime type application/json // body: { "title": "Hello World2", "description": "nothing else", "content": "Howdy Everyone!" }

to GET a list of posts http://localhost:8080/posts?page=0&size=2&sort=createdAt,desc

to GET comments on a post http://localhost:8080/posts/1/comments?page=0&size=3&sort=createdAt,desc

to POST a comment on a post http://localhost:8080/posts/4/comments // mime type application/json // body: { "text": "astonishing and amazing as well!" }