remylab / spring-data-rest-knockout-bookmarks

Example app that uses Java + Spring Data Rest and Knockout.js to create REST-based web app with minimal effort

Repository from Github https://github.comremylab/spring-data-rest-knockout-bookmarksRepository from Github https://github.comremylab/spring-data-rest-knockout-bookmarks

Example app that uses Java + Spring Data Rest and Knockout.js to create REST-based web app with minimal effort

This is the source code of a tutorial that can be found here: http://bernhardwenzel.com/blog/2014/10/10/spring-boot-rest-knockout-bookmarks/

Example Bookmark-application with separate backend and frontend. CORS enabled.

Uses following frameworks:

Usage

Run backend with

$ gradle run

Fully functional REST backend api for booksmarks resource.

Open index.html in a Browser.

The web app looks like this:

Bookmarks web app

Note: Backend database is an in-memory H2 database. In order to keep data between session, it can be easily switched to file mode by un-commenting the lines in src/main/resources/application.properties.

More details can be found in the tutorial.

About

Example app that uses Java + Spring Data Rest and Knockout.js to create REST-based web app with minimal effort

License:MIT License


Languages

Language:Java 37.5%Language:JavaScript 36.5%Language:HTML 26.0%