Skip to content

WillianChuLive/tinyapp

 
 

Repository files navigation

TinyApp

The URL's Shortner

"Logo"

The minimalist design goal for TinyApp formatting was made to be functional as possible. The idea is that time is money. People share a lot of thing and don't have time to waste. With just 6 digits the user have the power to share the WORLD!

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

  • It saves time
  • Keeps clean and easy links share
  • It's simple and intuitive
  • ✨Magic ✨

Final Product

"Main Page"

"Editing links"

"Remember to login first"

Dependencies

TinyApp has actually several dependencies of open source projects to work properly. Instructions on how to use them in your own application are linked below.

Dependecies README
Node.js [https://nodejs.org/en/docs/][PlDb]
Express [http://expressjs.com/en/starter/installing.html][PlGh]
EJS [https://www.npmjs.com/package/ejs][PlGd]
bcrypt [https://www.npmjs.com/package/bcrypt][PlOd]
body-parser [https://www.npmjs.com/package/body-parser][PlMe]
cookie-session [https://www.npmjs.com/package/cookie-session][PlGa]
  • [node.js] - evented I/O for the backend
  • [Express] - fast node.js network app framework
  • [EJS] - pages templates rendering
  • [bcrypt] - maintain all passwords encrypted
  • [body-parser] - returns a legible objects
  • [cookie-session] - encrypt the browsers cookies

TinyApp is open source itself too! with a public repository on GitHub.

Getting Started

Tinyapp requires Node.js v12 to run

  • After fork and clone the repository
  • Install all dependencies (using the npm install command).
  • Run the development web server using the node express_server.js command.

alternatively

npm start

-After the server is running you at your browser:

http://localhost:8080/

Note: The implementation have to files with urlDatabase and usersDatabase running in syncronous mode. The app was tested in a Windows10 with a native kernal WSL2.

License

Free Software

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • EJS 61.5%
  • JavaScript 38.5%