Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/couchbaselabs/spring-beer-sample
Spring Data Couchbase & Spring Boot Sample Application
https://github.com/couchbaselabs/spring-beer-sample
Last synced: 2 days ago
JSON representation
Spring Data Couchbase & Spring Boot Sample Application
- Host: GitHub
- URL: https://github.com/couchbaselabs/spring-beer-sample
- Owner: couchbaselabs
- Created: 2014-02-27T08:23:36.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-27T08:23:51.000Z (almost 11 years ago)
- Last Synced: 2024-04-12T16:19:16.995Z (9 months ago)
- Language: Java
- Size: 195 KB
- Stars: 4
- Watchers: 167
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Data Couchbase + Spring Boot Example Application
This is a simple demo application which shows how to use Spring Data Couchbase and Spring Boot together agains the
`beer-sample` couchbase sample dataset.Make sure to have the following view in place before querying the URIs:
Design Document: "beer", View Name: "all"
```javascript
function (doc, meta) {
if(doc.type == "beer") {
emit(doc.name, null);
}
}
```Start the application either by deploying it or just running the `example.Boot#main()` method in your IDE. Navigate
the browser to `/beer` to get started. Change the `DatabaseConfig` configuration file according to your environment.