New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[examples] Added with-couchbase
example
#27184
[examples] Added with-couchbase
example
#27184
Conversation
…ext.js into feat/with-couchbase-example
@leerob Any chance we could get a re-review on this? Updated a few things and simplified the |
(1) Updated to use ESM to import couchbase, (2) added |
|
||
Set each variable on `.env.local`: | ||
|
||
- `COUCHBASE_USERNAME` - The username of an authorized user on your Couchbase instance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: It'd be great if there was an integration that took care of this for you 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will add this ASAP!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know if you have any questions!
with-couchbase
example
This adds a simple
with-couchbase
example app complete with a check for successful connection (inindex.js
).Note: To check the connection, this application runs a simple KV GET operation with a key that does not exist and expects a response of
document not found
. Any other response indicates a failure to connect.Thank you!