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
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,21 @@ Often, the first step developers take after creating their database is to create
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
8
2. How to write simple parametrized [N1QL queries](https://docs.couchbase.com/java-sdk/current/howtos/n1ql-queries-with-sdk.html) using the built-in travel-sample bucket.
9
9
10
-
Full documentation for the tutorial can be found on the [Couchbase Developer Portal](https://developer.couchbase.com/tutorial-quickstart-spring-boot-java/).
11
-
12
-
If you are looking for a quick start using [Micronaut](https://micronaut.io/)](https://micronaut.io/), you can find it in this [repo](https://github.com/couchbase-examples/java-quickstart-micronaut).
10
+
Full documentation for the tutorial can be found on the [Couchbase Developer Portal](https://developer.couchbase.com/tutorial-quickstart-java-springboot/).
13
11
14
12
## Prerequisites
15
13
16
14
To run this prebuilt project, you will need:
17
15
18
16
-[Couchbase Capella](https://www.couchbase.com/products/capella/) cluster with [travel-sample](https://docs.couchbase.com/java-sdk/current/ref/travel-app-data-model.html) bucket loaded.
19
17
- To run this tutorial using a self-managed Couchbase cluster, please refer to the [appendix](#running-self-managed-couchbase-cluster).
20
-
-[Java](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) 11 or higher installed
21
-
- Ensure that the Java version is compatible with the Couchbase SDK.
Instead of the hash symbols, you need to add the values for the Couchbase connection.
67
+
Instead of the DB_CONN_STR, DB_USERNAME and DB_PASSWORD
68
+
, you need to add the values for the Couchbase connection.
68
69
69
70
> Note: The connection string expects the `couchbases://` or `couchbase://` part.
70
71
@@ -129,11 +130,10 @@ For this quickstart, we use three collections, `airport`, `airline` and `routes`
129
130
130
131
If you would like to add another entity to the APIs, these are the steps to follow:
131
132
132
-
- Create the new entity (collection) in the Couchbase bucket. You can create the collection using the [SDK](https://docs.couchbase.com/sdk-api/couchbase-java-client-3.5.2/com/couchbase/client/java/Collection.html#createScope-java.lang.String-) or via the [Couchbase Server interface](https://docs.couchbase.com/cloud/n1ql/n1ql-language-reference/createcollection.html).
133
+
- Create the new entity (collection) in the Couchbase bucket. You can create the collection using the [SDK](https://docs.couchbase.com/cloud/management-api-reference/index.html) or via the [Couchbase Server interface](https://docs.couchbase.com/cloud/n1ql/n1ql-language-reference/createcollection.html).
133
134
- Define the routes in a new file in the `controllers` folder similar to the existing routes like `AirportController.java`.
134
135
- Define the service in a new file in the `services` folder similar to the existing services like `AirportService.java`. You'll have to implement the service interface `AirportServiceImpl.java`.
135
136
- Define the repository in a new file in the `repositories` folder similar to the existing repositories like `AirportRepository.java`. You'll have to implement the repository interface `AirportRepositoryImpl.java`.
136
-
- Add the new routes to the application in `Application.java`.
0 commit comments