Building the profile search widget
We've covered almost all the important APIs and concepts of Bacon.js. Now, it's time to build the profile search widget. We will also learn some more APIs and concepts in the process.
We will build the profile search widget to learn how to write reactive code using Bacon for both the frontend and backend in real-world projects. Let's get started.
Understanding project directories and files
In the exercise files of this chapter, you will find a directory named profile-search
-widget
. Inside that directory, you will find two other directories named final
and initial
. The final
directory contains the final code for the profile search widget whereas the initial
directory contains the files and code for you to quickly get started with building the profile search widget. You will now work with the initial
directory.
You are supposed to put the server-side code inside the app.js
file and the frontend code inside the public/js/index.js
file. Currently, the app.js
file...