Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.95 KB

File metadata and controls

50 lines (33 loc) · 1.95 KB

TinyApp Project

TinyApp is a full stack web application built with Node and Express that allows users to shorten long URLs (à la bit.ly).

Upon registering, passwords are hashed and cookies are encrypted. Users that are not logged in are restricted from doing anything aside from logging in or registering.

URLs come with a statistic page that tell you the date/time the TinyURL was created, as well as how many clicks and unique visitors the link has, which are updated upon TinyURL visit regardless of login status. This page also allows you to edit the link or delete it.

Each time a user visits a link, it also creates additional stats, giving the specific url a collapsible table on the ('urls/:id') stats page that shows the time of the latest visitor at the top with a unique ID. Followed by all visits, with the appropriate time and a randomly-generated ID.

 


Final Product

'Screenshot of URLs index page'

 

Screenshots of URLs stat pages

'Screenshot of TinyURL stat page'
'Screenshot of TinyURL stat page w/ extra stats expanded' 'Screenshot of TinyURL stat page w/ no views'

 
Screenshot of registration page

'Screenshot of registration page'

 


Dependencies

  • Node.js
  • Express
  • EJS
  • bcryptjs
  • cookie-session
  • method-override

Getting Started

  • Install all dependencies (using the npm install command).
  • Run the development web server using the npm start command.