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
- bcrypt
- body-parser
- cookie-session
-
Install all dependencies (using the
npm installcommand). -
Run the development web server using the
node express_server.jscommand, ornpm startcommand. -
If the following errors occur while trying to run the app:
return process.dlopen(module, path.toNamespacedPath(filename)); Error: libnode.so.64: cannot open shared object file: No such file or directory
- The following command should fix the issue:
npm rebuild bcrypt --build-from-source

