Example app that uses Java + Spring Data Rest and Knockout.js to create REST-based web app with minimal effort
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main
.gitignore
LICENSE
README.md
build.gradle

README.md

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.