Giter Site home page Giter Site logo

tinyapp's Introduction

TinyApp Project

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

Final Product

"urls landing page" "screenshot description"

Dependencies

Getting Started

  • Clone the repo.
  • Move to the root directory of the project.
$ cd tinyapp
  • Install dependencies.
$ npm install
  • Run the development web server.
$ node express_server.js

Tests

Helper functions tested with the following tools:

To run (with both Mocha and Chai installed):

$ npm test

runs the following command: ./node_modules/mocha/bin/mocha.

Features/ Page Descriptions

  • Authentication/authorization using bcrypt and cookie-session.
  • /urls page:
    • Shortened URLs saved for the authenticated user
  • /urls/:id page:
    • Form for editing the selected URL.
    • Tracks the total number of times a link has been visted.
    • Tracks the number of unique visits per link (currently only tracks unique visits from registered users).
    • Lists every visit to the URL (visitor ID and timestamp).
  • /urls/new page:
    • Form for submitting a new url to be shortened.

Notes

  • This is a project created for learning purposes as part of the Web Development program at Lighthouse Labs.
  • No database is used. All data is transiently saved in memory.

tinyapp's People

Contributors

anthonykao10 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.