- Generate a short URL.
- Use the short URL to visit the original URL
- Click the copy button to copy the short URL directly.
✅ Be sure that Node.js and npm are installed already.
✅ Clone or download the project to your folder
git clone https://github.com/bft7658/URL-Shortener.git
✅ Open Terminal
to install the required packages
npm install
✅ Set environment variable
export MONGODB_URI = "<your URI>"
✅ Start the server after install finished
npm run dev
✅ Run the browser when your Terminal
shows the link
App is running on http://localhost:3000
✅ Stop using browser by
Ctrl + c
- Node.js 16.14.0
- Express 4.17.3
- express-handlebars 4.0.2
- Bootstrap 5.1.3
- Font-awesome 5.8.1
- MongoDB
- mongoose 6.1.6