Make a URL-Shortener easily with Node.js and Mongoose ODM!
Licensed Under MIT | (c) to Daksh Miglani (https://dak.sh | @Dakshster)
Deployed on Heroku, https://linke.herokuapp.com/
- Node.js
- Express.js
- Mongoose.js
- MongoDB
- BodyParser Middleware
You just have to update 2 variables at Line 7 and 8 of server.js
file:
-
Update the
siteURL
variable (for example:https://dak.sh
) without any/
(backslash) at end. If you are using localhost, just leave it blank, or you have to make sure that the domain name is pointing to the server if using TLD. -
Update the
databaseURL
variable with your MongoDB server url.
... and you are done!
If you find any bugs, You can submit a pull request!