Skip to content

Conversation

@abhiraj2
Copy link
Contributor

No description provided.

<!-- [abstract] -->
# Quickstart in Couchbase C++

- Learn to build applications in with Couchbase C++ SDK.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove in or add propriate context

- Explore CRUD operations in action with Couchbase
- Learn about Search Indexes and execute search queries in C++

In this tutorial, you will learn how to connect to a Couchbase Capella cluster to create, read, update, and delete documents, how to write simple parametrized SQL++ queries and how to create, and perform simple and complex text search using Search indexes.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

repetitive

At this point, we have installed the dependencies, loaded the travel-sample data and configured the application with the credentials. The application is now ready and you can run it by executing the following command from the build directory:

```sh
./cxx_quickstart

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a binary ? then you need to create for each arch and os so provide the compile and run command

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had talked to Denis about this, he said, currently we will focus on Mac and Linux only. I had tested this for both and instructions remain the same for both.

Once you run the executable, your terminal should fill up with the results of the executed statements written in the main function of the `main.cpp` and should look something like this:
![image](./cli_output.png)

### Running Self Managed Couchbase Cluster

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this section is repetitive

You can find the schema for both these collections in the model folder.


## Let Us Review the Code

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the heading


To begin this tutorial, clone the repo and open it up in the IDE of your choice. Now you can learn about how to create, read, update and delete documents in Couchbase Server.

### Code Layout

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed

@abhiraj2 abhiraj2 marked this pull request as ready for review February 19, 2025 06:21
@abhiraj2 abhiraj2 requested a review from a team as a code owner February 19, 2025 06:21
@abhiraj2 abhiraj2 requested a review from shyam-cb February 19, 2025 06:21
@shyam-cb shyam-cb merged commit d20b42a into main Mar 6, 2025
4 checks passed
VirajAgarwal1 pushed a commit that referenced this pull request Mar 17, 2025
* Added C++ QuickStart Tutorial

* changed search to fts in technologies

* changed repetitive sections and removed unnecessary sections

* refactored for current code

* changed data model section
VirajAgarwal1 added a commit that referenced this pull request Mar 28, 2025
* Update README.md

* Update README.md

* Added screenshot files

* Some hierarchy fixes

* Added concept explanation

* Updated frontmatter

* Added original demo app code in the readme

* Added `smolagents` as an additional tag for testing the frontmatter. (#49)

* Generated markdown tutorials from Jupyter Notebooks

Generated from: couchbase-examples/vector-search-cookbook

* Generated markdown tutorials from Jupyter Notebooks

Generated from: couchbase-examples/vector-search-cookbook

* Generated markdown tutorials from Jupyter Notebooks

Generated from: couchbase-examples/vector-search-cookbook

* changed readme title to 'Building an Interactive Flight Search App with Streamlit and Couchbase'

* added link to travel-sample dataset

* removed the unlike relational db line

* made the requested changes

* updtaed the frontmatter

* updated prereqs

* changed N1Ql to SQL++

* Added C++ QuickStart Tutorial (#45)

* Added C++ QuickStart Tutorial

* changed search to fts in technologies

* changed repetitive sections and removed unnecessary sections

* refactored for current code

* changed data model section

* Generated markdown tutorials from Jupyter Notebooks

Generated from: couchbase-examples/vector-search-cookbook

* Generated markdown tutorials from Jupyter Notebooks

Generated from: couchbase-examples/vector-search-cookbook

* Generated markdown tutorials from Jupyter Notebooks

Generated from: couchbase-examples/vector-search-cookbook

* changes requested by Lokesh

* changes requested by Lokesh - 2

* changes suggested by Nithish

* updated instructions to pass params through QueryOptions instead of query itself

* query params update

---------

Co-authored-by: gautham <91133513+capemox@users.noreply.github.com>
Co-authored-by: GitHub Action <actions@github.com>
Co-authored-by: Abhiraj <abhiraj.official15@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants