Details
-
Task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.0.8
-
None
-
6
-
SDK26: Ubuntu - Sample App/Doc, SDK28: Docs/Test/Release
Description
The Travel Sample Application introduces customers to using Couchbase through the SDKs, by demonstrating an app which authenticates against a cluster, and performs queries and searches.
The other SDKs have updated Travel Sample Apps for SDK3 / Server 6.5, and in addition a version that works with the Collections Developer Preview.
such as [-https://github.com/couchbaselabs/try-cb-java/tree/6.5.0-branch-]
.
The 7.0 updates to work with Collections can be seen in:
- https://github.com/couchbaselabs/try-cb-java
- https://github.com/couchbaselabs/try-cb-nodejs
- https://github.com/couchbaselabs/try-cb-python
& the front end is at https://github.com/couchbaselabs/try-cb-frontend-v2
.
A Scala version (two versions - with & without Collections) is needed, showing best practices in Scala programming.
We may as well start in SDK 1.2 with a version for the Collections-enabled data sample bucket in 7.0β.
The CSRF error is that Play framework expects the dev to have injected an CSRF token into the form before POSTing it. This CSRF is created by the server (good explanation is here). Since the frontend is a separate project, I've just disabled CSRF here, with a comment explaining why.
I also found a couple more bugs in the backend, now fixed, and tidied up some other bits. Everything should now be ship-shape.