An open API service indexing awesome lists of open source software.

https://github.com/kazvee/tinyapp

🌍🔗 Full stack web application that allows users to shorten long URLs. Built with Node, Express, and the EJS template engine for page rendering. Unit testing has been implemented using Mocha and Chai.
https://github.com/kazvee/tinyapp

bcryptjs chai cookie-session ejs express javascript mocha node-js unit-testing

Last synced: about 1 month ago
JSON representation

🌍🔗 Full stack web application that allows users to shorten long URLs. Built with Node, Express, and the EJS template engine for page rendering. Unit testing has been implemented using Mocha and Chai.

Awesome Lists containing this project

README

        

# TinyApp Project

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

Tired of stifling your witty commentary to leave enough room for a meme link?
Feeling limited by character limitations in input text fields?
Wish there was a better way?

**There's TinyApp.** 🎉

Say goodbye to incredibly long and boring website address links.
Say *hello* to shareable shortlinks that leave plenty of room for your **_sass_**! 🤩

## Final Product
*View of New User Registration Page:*

!["Screenshot of New User Registration page"](/docs/register-page.png)

*Logged-in user view of saved short URLs with visitor tracking stats:*

!["Screenshot of URLs page"](/docs/urls-page.png)

*Logged-in user view of Edit Short URL page with detailed visitor tracking stats:*

!["Screenshot of URLs page"](/docs/edit-page.png)

## Purpose

This project was created by [me](https://github.com/kazvee) as part of my learnings at [Lighthouse Labs](https://www.lighthouselabs.ca/en/web-development-flex-program).

## Dependencies

- [Node.js](https://nodejs.org)
- [npm](https://www.npmjs.com)
- [Express](https://expressjs.com)
- [EJS](https://ejs.co)
- [bcryptjs](https://www.npmjs.com/package/bcryptjs)
- [cookie-session](https://github.com/expressjs/cookie-session)

### Development Dependencies

- [Mocha](https://mochajs.org)
- [Chai](https://www.chaijs.com)
- [nodemon](https://nodemon.io)

Node version 12.x and npm version 6.x were used during app development & testing.

## Getting Started

- Install all dependencies (using the `npm install` command).
- Run the development web server using `npm start` (for the node express_server.js command).

## How to Use TinyApp

- Users must be registered & logged in to Add/Edit/Delete short URL links.
- Click on `Create New URL` to create a new short link for easy sharing!
- Click on `My URLs` to View/Edit/Delete your existing short links.
- Please do not rickroll people. 🙂