Today I have finished the final episode of a five-part webinar series on the subject of Couchbase, Express Framework, Angular, and Node.js (CEA2N) application development. This webinar series has been going on for the past five weeks where each week I covered a new topic relative to the stack leading up to a NativeScript mobile application.
Each episode of this webinar was recorded and can be viewed for free here. This is some premium content!
An episode breakdown and project source code can be seen below.
In this episode we get familiar with what we’re tying to build and the tooling involved. Although I am not personally using Docker in the webinar series, my co-presenter, Todd Greenstein, demonstrates how to get Couchbase Server up and running with Docker.
After we get Couchbase up and running, I walk through pretty much line by line, what is involved to get a Node.js application up and running. This includes obtaining project dependencies and defining the API endpoints that will be used within our application and future episodes.
In this episode I go over the application data model and how to work with this data using an ODM tool similar to Mongoose called Ottoman. In case you’ve never used a NoSQL database, we modeled our data with referrals so that it closely resembles that of a relational database such as MySQL or Oracle.
Each of the API endpoints that were created in the previous episode get filled with Ottoman queries that let us create and get our application data.
In addition to Ottoman queries we also see how to accept file uploads via the Multer middleware for Node.js.
var instead of say
The front-end is minimal when it comes to logic development as most of the crunching is done server side. The front-end is only meant to pass data around and display it on the screen.
In this episode we add read-only mode accessibly through a permalinks. This means that when a user accesses the shared permalink they can view all the content of a particular task or project, but make no changes.
This episode covers changes to both the back-end Node.js code and front-end Angular code.
In this episode, the final episode, I strayed from the CEA2N application by building a new front-end. The front-end being a mobile NativeScript application that works for both iOS and Android.
This mobile application consumes the data from our CEA2N web application via HTTP requests against our API endpoints.
I’d like to think my webinar series on full stack application development using Couchbase NoSQL, Express Framework, Angular, Node.js, and NativeScript was very thorough.
In it we walked through creating a crude version of what you might find in Jira or SafetyCulture. The full source code to the CEA2N web application can be found for free on GitHub here, and the full source code to the NativeScript mobile application can be found for free on GitHub here.
Again, this webinar series and everything in it is free and open source.