Adding templates for login, sign-up, and profile
Now we have a solid basis to move forward with the project. At this time, we will add some template files for login, sign-up, and profile screens.
The expected result for these pages will be as shown in the following screenshot:

Login screen

Sign-up screen

Profile screen
- Now let's create the login template. Create a new file called
login.ejs
in theviews
folder and place the following code:<!DOCTYPE ...
Get Node.js 6.x Blueprints now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.