Skip to content
TinyApp is a URL shortening application built with Node.js, Express, and EJS. It allows users to enter a long URL and have it shortened into a succinct URL for tweeting. Users can see a list of URLs they have created, and update existing short URLs.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
docs
routes
utils
views
.gitignore
README.md
express_server.js
package.json

README.md

TinyApp

A URL shortening service built with Node.js, Express, and EJS. This project is coursework from Lighthouse Labs.

Installation

Clone this repository and npm install inside of the project directory.

Run

node express_server.js will launch the app on your environment's default port, or port 8080 if none is set.

const PORT = process.env.PORT || 8080;

Notes

Currently, users and URLs are hard-coded into the express_server.js app.

There is no logic to check the validity of URLs being entered by users, so URLs missing protocols won't redirect.

Dependencies

Screenshots

Login page TinyApp login page

URLs index for authenticated user TinyApp URLs index page for authenticated user

Contact Author

Tyler Krys made this to learn about web development.

You can’t perform that action at this time.