Skip to content
douggynixPublic

About

This project is a simple REST application for serving a blog. It uses Spring Boot, Spring Data JPA and some other helper libraries

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Blog Engine powered by Spring Boot

Introduction

This project is a simple REST application for serving a blog. It uses Spring Boot, Spring Data JPA and some other helper libraries.

  • POST at /posts/{id}/comments which should:

    • Save a new comment with current date and time for post with passed {id}
    • Return 201 Created if comment is created successfully for post with passed {id}
    • Return 404 Not Found if post with passed {id} does not exist
  • GET at /posts/{id}/comments which should:

    • Return all comments sorted by creation date in descending order for a post with passed {id}
    • Return empty list if a post with passed {id} does not exists or when it does not contain any comments

About

This project is a simple REST application for serving a blog. It uses Spring Boot, Spring Data JPA and some other helper libraries

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages