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.
- Host: GitHub
- URL: https://github.com/kazvee/tinyapp
- Owner: kazvee
- Created: 2023-06-19T16:50:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T16:52:39.000Z (over 1 year ago)
- Last Synced: 2025-02-02T07:22:37.326Z (3 months ago)
- Topics: bcryptjs, chai, cookie-session, ejs, express, javascript, mocha, node-js, unit-testing
- Language: JavaScript
- Homepage:
- Size: 337 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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:*
*Logged-in user view of saved short URLs with visitor tracking stats:*

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

## 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. 🙂