You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,12 @@
5
5
Often, the first step developers take after creating their database is to create a REST API that can perform Create, Read, Update, and Delete (CRUD) operations for that database. This repo is designed to teach you and give you a starter project (in Java using Spring Data) to generate such a REST API. After you have installed the travel-sample bucket in your database, you can run this application which is a REST API with Swagger documentation so that you can learn:
6
6
7
7
1. How to create, read, update, and delete documents using Key-Value[ operations](https://docs.couchbase.com/java-sdk/current/howtos/kv-operations.html) (KV operations). KV operations are unique to Couchbase and provide super fast (think microseconds) queries.
8
-
2. How to write simple parametrized[SQL++ Queries](https://docs.couchbase.com/java-sdk/current/howtos/n1ql-queries-with-sdk.html) using the built-in travel-sample bucket.
8
+
2. How to write simple parameterized[SQL++ Queries](https://docs.couchbase.com/java-sdk/current/howtos/n1ql-queries-with-sdk.html) using the built-in travel-sample bucket.
9
9
10
10
Full documentation for the tutorial can be found on the [Couchbase Developer Portal](https://developer.couchbase.com/tutorial-quickstart-spring-data-java/).
11
11
12
+
This example uses spring data, however, if you are looking for springboot sample app please go to this [repository](https://github.com/couchbase-examples/java-springboot-quickstart).
13
+
12
14
## Prerequisites
13
15
14
16
To run this prebuilt project, you will need:
@@ -28,7 +30,7 @@ We will walk through the different steps required to get the application running
@@ -81,7 +83,7 @@ Additionally, you can specify the connection string, username, and password dire
81
83
82
84
## Cluster Connection Configuration
83
85
84
-
Spring Data couchbase connector can be configured by providing a `@Configuration`[bean](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans-definition) that extends [`AbstractCouchbaseConfiguration`](https://docs.spring.io/spring-data/couchbase/docs/current/api/org/springframework/data/couchbase/config/AbstractCouchbaseConfiguration.html).
86
+
Spring Data Couchbase connector can be configured by providing a `@Configuration`[bean](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans-definition) that extends [`AbstractCouchbaseConfiguration`](https://docs.spring.io/spring-data/couchbase/docs/current/api/org/springframework/data/couchbase/config/AbstractCouchbaseConfiguration.html).
85
87
86
88
```java
87
89
@Slf4j
@@ -157,7 +159,7 @@ public class CouchbaseConfiguration extends AbstractCouchbaseConfiguration {
157
159
158
160
> _from config/CouchbaseConfiguration.java_
159
161
160
-
This default configuration assumes that you have a locally running Couchbae server and uses standard administrative login and password for demonstration purpose.
162
+
This default configuration assumes that you have a locally running Couchbae server and use a standard administrative login and password for demonstration purposes.
161
163
Applications deployed to production or staging environments should use less privileged credentials created using [Role-Based Access Control](https://docs.couchbase.com/go-sdk/current/concept-docs/rbac.html).
162
164
Please refer to [Managing Connections using the Java SDK with Couchbase Server](https://docs.couchbase.com/java-sdk/current/howtos/managing-connections.html) for more information on Capella and local cluster connections.
0 commit comments