With the base of our application created, we have allowed users to sign up and log in to our application. This is a huge part of any application, but we are still missing the creation of content that we can connect to the user accounts. We'll go through all of it in this chapter!
In this chapter we will:
Create a user profile to publicly display a user's information
Clean up the profile using Bootstrap
Handle all kinds of exceptions
Discuss modeling of posts and relationships in CouchDB
Create a form to create posts from the logged-in user's profile
With our road mapped out for us, let's move on to talk about the user profile!
The main attraction of any social network is a user's profile; the user profile usually displays the basic information of a user and shows any content that they have created.
By the end of this section, our user profiles will work as follows:
If a visitor goes to
http://localhost/verge/user/johndoe
, our routing system...