GithubHelp home page GithubHelp logo

wingkoon / tinyappfo3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from berk-ozer/tinyapp

0.0 0.0 0.0 1.01 MB

A web app to shorten long URLs, so your links are compact and pretty.

JavaScript 43.90% HTML 56.10%

tinyappfo3's Introduction

TinyApp Project

Want to share funny cat videos on Twitter but your links are too long? Don't let that stop you from spreading joy!

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

Because there can never be enough cat videos on the internet.

Final Product

"Screenshot of urls page"

"Screenshot of registration page"

"Screenshot of new url page"

Dependencies

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

Getting Started

  1. Install all dependencies (using the npm install command).
  2. Run the development web server using the node express_server.js command.
  3. Go to localhost:8080 on your browser, enjoy!

How To Use TinyApp

Register/Login

Users must be logged in to create new links, view them, and edit them.

Just click Register on right top, put in your email and password, and you're good to go.

Create New Links

Either click Create a New Short Link in My URLs page, or Create New URL on navigation bar.

Then simply enter the long URL you want to shorten.

Edit or Delete Short Links

In My URLs, you can delete any link you want.

You can also click Edit, and then enter a new long URL to update your link. It will be the same short URL, but redirect to an updated long URL.

Use Your Short Link

The path to use any short link is /u/:shortLink. This will redirect you to the long URL.

You can also reach this by clicking edit on a link, and using the link corresponding to the short URL.

tinyappfo3's People

Contributors

berk-ozer 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.