TinyApp is a full stack web application built with Node and Express that allows users to shorten long URLs (à la bit.ly).
- Node.js
- Express
- EJS
- bcryptjs
- cookie-session
- Install all dependencies (using the
npm install
command). - Run the development web server using the
node express_server.js
command. - Once web server is running, search in your browser 'http://localhost:8000/'
-
Register and login to create and save shortened urls
- You will need an email and password!
-
To shorten new url, click
Create New Url
on navigation bar. Type in the long url and click submit. -
To edit/delete url, go to
My URLs
and click the edit or delete button beside the url you wish to edit. -
The path to use a shortened url is:
/u/:shortUrl
This will take you to the website you wish to go to.- Alternatively, you can click the Edit button, and use the link beside 'Short URL ID' on the page.