Running the application and adding comments

Now it's time to test whether everything is working properly:

  1. Open terminal/shell at the root project folder and type the following command:
    npm start
    
  2. Check your browser at: http://localhost:3000.
  3. Go to http://localhost:3000/signup and create a user called John Doe with the e-mail ID as john@doe.com and password as 123456.
  4. Go to http://localhost:3000/comments, click on the create comment button and add the following content:
          Title: Sample Title      Comments: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure ...

Get Node.js 6.x Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.