Category: Node.js
Create a Desktop Chat Application using the CEAN Stack and Electron
So you’re interested in creating a desktop chat application like Slack, but aren’t sure where to start. Slack was very open in saying that they used Github’s Electron platform for building the desktop version of their software. This means that...
Storing Base64 Files Directly in Couchbase via Node.js
So you're developing an application and you want to store your files in Couchbase. As of right now, Couchbase allows for documents up to 20MB in size which is larger than you think. Why would we store our files in...
Load Nested Models With Ottoman When A Parent Model Is Found In Node.js
Previously I wrote about easily developing Node.js and Couchbase apps using Ottoman for ODM. That post was just a taste of what Ottoman can do and how you can compare it to the things Mongoose can do with MongoDB. This...
Prepared Statements – by the Numbers!
Always be Prepared…. In our last discussion on prepared statements in couchbase we talked about the performance gains that are possible using prepared statements. I thought I’d post a “sequel” with a few real world examples and numbers using the...
Full Stack Development with the CEA2N Stack Webinars
Although slightly late on this post, I thought it would great to share that I’m presenting a five-part webinar series on the topic of full stack development. Now the first episode did already happen, but the great thing is that...
Exploring Couchbase and N1QL through Touchbase using Node.js and Angular.js – Part 4: Image Uploads with Multer and base64 encoding
Part 4: Picture Upload So far, Part 0 and Part 1 cover the data model and user document used in the application followed by Part 2 where we verify accounts through email using Nodemailer and Sendgrid. We then had part...
Hashing Passwords Stored in Couchbase Server with Node.js
Why You Should Hash All passwords should be hashed before entering a database because you have to consider the scenario where some malicious user attempts to gain entry into your data. Passwords are sensitive pieces of information that you don’t...
Easily Develop Node.js and Couchbase Apps with Ottoman
I recently read the article on Scotch.io regarding using Mongoose and MongoDB. I thought to myself, hey, Couchbase can do the same thing if you use Ottoman instead of Mongoose. This article is going to walk through the same comparisons...