Skip to content

TinyApp project created with Node and Express to shorten URLs

Notifications You must be signed in to change notification settings

KirstenHammond/tiny_app

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).


Final Product

Users Homepage when logged in Editing an existing TinyURL Creating a New TinyURL Logging in


Dependencies

  • Node.js
  • Express
  • EJS
  • bcryptjs for password encryption
  • cookie-session for encryption
  • method-override using app.delete and app.put

Helpful extras

  • Mocha/Chai for unit testing
  • nodemon for automatic server restarts

Contents

  1. Express Server aka where the magic happens
  2. View pages for EJS rendering
  3. Helper functions
  4. Databases for URLs and Users
  5. Mocha/Chai Unit Testing

Getting Started

  • Install all dependencies (using the npm install command).
  • Run the development web server using the npm start command.
  • Register an account, create new submissions for TinyURLs
  • Manage TinyURLS, edit or delete as needed

Acknowledgements

This project was completed in 4 days during the @lighthouse-labs Web Development Bootcamp.

Please Note

Cookies need to be cleared if resetting the local server.