Skip to content

omenstudio/library-hypermedia-service-articles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Articles library web service

Hypermedia-driven Web API that supports Hydra (http://www.hydra-cg.com/), json-ld (http://json-ld.org/) and popular vocabulary http://schema.org/

Working example

Server runned on (Heroku|https://ya.ru)

API endpoint: https://library-service-articles.herokuapp.com/mega-api/

You can also restart DB by running https://library-service-articles.herokuapp.com/resetdb. It will clean all database tables and add some simple entities.

Server on Heroku shotdowns after 30 minutes of inactivity, so you can open https://library-service-articles.herokuapp.com/iamalive to check if application is running. If app is not running, it will start automatically.

Getting started

You need locally installed Java 8 SDK, Postgres 9+ (or other DBMS) and Maven 3+.

  1. git clone https://github.com/Omenstudio/library-hypermedia-service-articles.git
  2. cd library-hypermedia-service-articles/
  3. mvn install && java -jar target/service-articles-1.0.0.jar
  4. or just mvn spring-boot:run

Server will be started at localhost and you can access API.

Project use Spring (Core, Boot, MVC, Data JPA), Hibernate, AspectJ, Json-ld.

To customize application you need to change DB connection and server url in resources/application.properties

See also

Working application: https://library-service-articles.herokuapp.com/mega-api/

About

WEB service example with articles, authors, magazines. Hypermedia driven API, hydra, json-ld, schema.org are supported

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages