Tiny App

The app will allow users to shorten long URLs much like TinyURL.com and bit.ly do. Have build an HTTP Server that handles requests from the browser (client). when a user is logged in, the header shows the user's email. When a user is not logged in, the header shows a link to the login page or a link to the registration page.

Have updated the application to store passwords securely by using the bcrypt package to convert the passwords provided by users before storing them to the server. Storing identity values in plain-text in cookies is insecure because it is easy to forge HTTP requests.Therefore, have used the encrypted cookies strategy for this project.

To build this application I have used Node.js, Express, EJS, bcrypt, body-parser, cookie-session.