Skip to content

Clopma/Koukio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koukio & CS Digital Media Test

Spring Boot application which reads the last 20 entries of an RSS feed every 5 minutes and saves them in its in-memory h2 database, which can be accessed from here (default credentials).

The posts are identified by a number extracted from the post uri. If a post it is already in the database, it gets updated.

This records are exposed by a GraphQL interface and can be accessed with pagination through GraphiQL at localhost.

Setup:

  • Run KoukiotestApplication#main as Java 11 application. No arguments needed.
  • Access GraphiQL and execute the example query:

You can choose which parameters to show in the json response between the following ones:

{
  getLastPosts(page: 0, size: 10) {
    id
    title
    publication
    description
    imageUrl
  }
}

The query has two parameters which set the page and the page size.

Unit and integration tests are available to execute from the test folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages