TinyApp is a full stack web application built with Node and Express that allows users to shorten long URLs (à la bit.ly).
- Uses cookies to track user sessions
- Built in analytics
- tracks the number of visits to a unique URL
- tracks total number of visits to a URL
- tracks IP addresses of visitors
- tracks date and time of visits accessing a short URL
- analytics are only visible to the user who created the URL
- Permissions
- only a user that creates a URL has authorization to edit and delete it
- can only create a URL if they are logged in and registered with the site
- Header contents are conditional on whether the user is logged in or not
- Node.js
- Express
- EJS
- bcryptjs
- cookie-session
- method-override
- Install all dependencies (using the
npm installcommand). - Run the development web server using the
node express_server.jscommand.
Test Data:
- email: 'test@email.com'
- password: 'a'
Has preset data in the database. See comments in
express_server.jsto remove predefined data.
Example Short URL: http://localhost:8080/u/abcd


