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
<aid="forkme_banner" href="https://github.com/ReactiveCouchbase">View on GitHub</a>
60
+
61
+
<h1id="project_title">Reactive Couchbase</h1>
62
+
<h3id="project_tagline">A reactive Scala driver for Couchbase</h3>
63
+
64
+
<sectionid="downloads">
65
+
<aclass="zip_download_link" href="https://github.com/ReactiveCouchbase/repository/raw/master/starterkits/reactivecouchbase-starter-kit.zip" title="Download the starter kit as a .zip file">Download the starter kit as a .zip file</a>
66
+
</section>
67
+
</header>
68
+
</div>
69
+
70
+
71
+
<divid="main_content_wrap" class="outer">
72
+
<sectionid="main_content" class="inner">
73
+
<h1>About Reactive Couchbase</h1>
74
+
<p>
75
+
more soon ...
76
+
</p>
77
+
<h1>Step By Step Example</h1>
78
+
<p>
79
+
Let's show a simple use case: print the documents of a bucket.
80
+
</p>
81
+
<h3>Prerequisites</h3>
82
+
<p>
83
+
We assume that you got a running Couchbase instance. If not, get the latest Couchbase binaries and install it (<ahref="http://www.couchbase.com/download">http://www.couchbase.com/download</a>)
84
+
</p>
85
+
<h3>Set up your project dependencies</h3>
86
+
</p>
87
+
ReactiveMongo is available on a private Maven repository. If you use SBT, you just have to edit build.sbt and add the following
88
+
<pre><code>resolvers += "ReactiveCouchbase Snapshots" at "https://raw.github.com/ReactiveCouchbase/repository/master/snapshots/"
<spanstyle="color: red">// when the query is done, run over all the docs and print them </span>
162
+
futureList.map { list =>
163
+
list.foreach { doc =>
164
+
println(s"found beer : ${Json.prettyPrint(doc)}")
165
+
}
166
+
}
167
+
<spanstyle="color: red">// shutdown the driver </span>
168
+
driver.shutdown()
169
+
}</code></pre>
170
+
</p>
171
+
<h1>Samples</h1>
172
+
<p>
173
+
You can find some application samples on <ahref="https://github.com/ReactiveCouchbase/ReactiveCouchbase-play/tree/master/samples">ReactiveCouchbase's github</a>
174
+
</p>
175
+
<h1>Play 2 plugin</h1>
176
+
<p>
177
+
You can absolutely use ReactiveCouchbase from a Play 2 application. For more information about it, go to the <ahref="https://github.com/ReactiveCouchbase/ReactiveCouchbase-play">ReactiveCouchbase-play's github project</a>
0 commit comments