A Full Stack Application Built Using the Couchbase Data Platform
This past year, at the annual Couchbase Connect conference in Silicon Valley, we were proud to present a technical demonstration showing much of the breadth of the Couchbase Data Platform capabilities. This included:
- Data storage and manipulation in operational, analytical, and mobile contexts
- IoT data moving from sensor to server to web client
- Cross-platform mobile device local data persistence with automatic synchronization
- Event-driven web UI using the Couchbase Eventing Service
- Live schema changes with no down time/migration
- SQL-style dynamic queries with N1QL
- Full-Text Search with stemming, fuzzy matching, and facets
- Combining in-database with on-the-fly REST results retrieved with N1QL’s cURL capability
- Large-scale ad hoc data analytics with no ETL
- Multi-Dimensional Scaling of the working clusters
- Easy hosting with popular cloud providers123
- Automatic replication of data with XDCR
- Cluster failover
and more.
That’s a lot to take in.
Personally, I was super excited to be part of building this project. It’s hard to understand the real scope without seeing it in action. Take a look at this video.
Project Source Code
I’m happy to announce the code base is now open-source and available on GitHub. This includes sample data suitable for demonstrating on a single machine. (Scaling to the size of the actual demo isn’t feasible with GitHub!) You’ll be able to try out the whole thing and see how each piece works.
There are shell scripts as well. These aim to simplify setting up the entire demo. They use Docker to allow setting up multiple clusters. (Read about cluster setup with Docker here.) You can run an entire multi-data center example on one machine.
Exploring the Code
In an upcoming series of blog posts, we will go into detail on all aspects of the demo. This will include an architectural review, setting up and running all the elements, and deep dives into many parts of the source code. We’ll look at everything from the NFC temperature patch through to the Vue.js-based web client.
The code and supporting files are still a work in progress. Feel free to enter issues, pull requests, and ping us with questions.
Postscript
Couchbase is open source and free to try out.
Get started with sample code, example queries, tutorials, and more.
Find more resources on our developer portal.
Follow us on Twitter @CouchbaseDev.
You can post questions on our forums.
We actively participate on Stack Overflow.
Hit me up on Twitter with any questions, comments, topics you’d like to see, etc. @HodGreeley