Coder Social home page Coder Social logo

jeromealmir / tinyapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 309 KB

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

JavaScript 39.44% EJS 60.56%
ejs express tinyapp url-shortener nodejs-server

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

Purpose

This project was created and published by Jerome Lagbas as part of the Web Development program at Lighthouse Labs.

Final Product

url-login.png
Login Page
url-register.png
Register Page
url-main-empty.png
TinyApp Homepage (Empty)
url-main.png
TinyApp Homepage
url-new.png
Create New URL
url-edit.png
Edit URL
url-403.png
403 Forbidden Page
url-404.png
404 Not Found Page

Dependencies

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

Getting Started

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

How To Use

  • Run local server npm start
  • Browse to http://localhost:8080
  • Login or register an account
  • My URLs displays all URLs you have created
  • To create new URL click on Create New URL
  • Enter the website address you wish to shorten
  • Use your shortened URL by going to localhost:8080/u/ + short URL ID
  • Modify URL by clicking Edit
  • Delete URL by clicking Delete
  • Access or share your TinyURL anywhere

Features

  • Simple user database (supports unlimited user registration and URL creation)
  • Secured user registration using hash technology (powered by bcrypt)
  • Supports user-session using cookies (login and logout)
  • Encrypted cookies (powered by cookie-session)
  • User authenticated URLs (protects unauthorized modification and deletion)
  • Protected POST routes
  • Responsive web design (mobile view supported)
  • Custom error pages (403 and 404)

tinyapp's People

Contributors

jeromealmir avatar

Watchers

 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.