Live Application: URL-Shortener
To run locally: run the following commands:
`npm install`
`npm run dev`
To set up MongoDB locally, update the mongoURI variable located in './config/db.js' to local mongo uri.
- Simple interface to take in a long URL Link
- Pass Long URL through a package to return a unique short url string
- Shortened URL string will link you to the original long url
Express & Mongo Atlas used to takin in and store the relationship between the long url and the short url
- Saving and linking the Original Long url to the short url with a simple MongoDB - Atlas database
- Utilizing ShortId npm package to generate a short URL as soon as long url is passed through the schema
- Utilizing a simple handlbars html interface to manage the views from express and display the URLs
- UI accepts a long url and auto generates a short url
- long & short url pair saved to a DB
- short url provides access to long url
- needed the database relationship to provide the link & redirect
- deploying simple page to a hosting service such as heroku