Skip to content
/ tinyapp Public

Full stack Node/Express app that allows users to shorten long URLs (à la bit.ly), with analytics features. Built during the 3rd week of bootcamp.

Notifications You must be signed in to change notification settings

jpqy/tinyapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyApp Project

TinyApp is a full stack web application built with Node and Express that allows users to shorten long URLs (à la bit.ly). It was built as part of Lighthouse Labs' Web Development bootcamp.

Screenshots

"Manage URLs Page" "URL Details Page" "Hottest Links Page"

Dependencies

  • Node.js
  • Express
  • EJS
  • bcrypt
  • body-parser
  • cookie-session
  • method-override

Stretch (Bonus) Features

  • Can serve app in a subdirectory such as example.com/tinyapp
  • Analytics
    • Keeps track of how many times a given short URL is visited
    • Keeps track of unique visitors for each URL
    • Keeps track of every visit (timestamp, and a generated visitor_id), displayed on the URL edit page
  • Has a 'Hot' page with the most popular short URLs

Getting Started

  • Install all dependencies (using the npm install command)
  • If serving the app in a subdirectory (i.e. example.com/tinyapp), set the environmental variable TINYAPP_BASE_URL appropriately (i.e. /tinyapp/)
  • (Optional) Set server port with environmental variable TINYAPP_PORT (default is 8080)
  • Run the development web server using the command node express_server.js with your favourite service manager

About

Full stack Node/Express app that allows users to shorten long URLs (à la bit.ly), with analytics features. Built during the 3rd week of bootcamp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published