94
Breviare - Minimalist url shortener
source link: https://www.tuicool.com/articles/hit/2mMJ3m6
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Breviare :scissors: :v:
Breviare is a minimalist URL shortener made in Javascript (NodeJS / ExpressJS / MongoDB / Ajax).
Config :floppy_disk:
Install all the dependencies with
npm install
For it to works properly, it is recommended to create a config.js file in the root directory that contains the db connection
var config = {}; config.dbconnection = 'dbconnectionurl'; module.exports = config;
Demo :wrench:
You can try it here, please remember that an url shortener deppends on the url and this domain is a free one provided by Heroku.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK