---
title: "Discussion on \"Building A Node.js - Express App (covid19-updates)|Part-2\" | Hashnode"
description: "Discussion on \"Building A Node.js - Express App (covid19-updates)|Part-2\". If you haven't read the last post, I recommend you to check it out here, else many things in this post will not make sense.\nIn the last post we've created a simple index('/') route with HTML file as response using EJS template engine.\nNow, it's time ..."
url: "https://hashnode.com/posts/building-a-nodejs-express-app-covid19-updatesorpart-2/5e9196f2c492833a1752e55d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building A Node.js - Express App (covid19-updates)|Part-2](https://bytetales.hashnode.dev/building-a-nodejs-express-app-covid19-updatesorpart-2?utm_source=hashnode&utm_medium=feed)

If you haven't read the last post, I recommend you to check it out here, else many things in this post will not make sense. In the last post we've created a simple index('/') route with HTML file as response using EJS template engine. Now, it's time ...

Apr 11, 2020 · bytetales.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#express](https://hashnode.com/tag/express)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[James Shah](https://hashnode.com/@jamesshah)

@jamesshah · India

  
[View profile](https://hashnode.com/@jamesshah)

Software Developer | Data Science Enthusiast

## Responses 1

Markdown supported · ⌘↵ to post

[Mohit Vachhani](https://hashnode.com/@mohit_97)

[Apr 12, 2020](https://hashnode.com/posts/building-a-nodejs-express-app-covid19-updatesorpart-2/5e9196f2c492833a1752e55d/comment/5e933c523519866555761231)

Just a fun fact, you are using phone number as the primary key for your database. Email can be a better primary key for user I think so.

[James Shah](https://hashnode.com/@jamesshah)

[Apr 13, 2020](https://hashnode.com/posts/building-a-nodejs-express-app-covid19-updatesorpart-2/5e9196f2c492833a1752e55d/comment/5e933c523519866555761231#reply-5e94aed24e2f534a59f358cf)

Indeed, but here i didn't want users to enter their email ids. No specific reason but I didn't thought it from the database point of view,but I wanted to learn Node.js and Express and thus, I built this project. But you are very much correct that email id should be used as primary key. Thank you for reading and your feedback 🤗🤗
