Skip to content

A simple url shortner built using NodeJS, Express and MongoDB.

Notifications You must be signed in to change notification settings

SKGHD/node-mongo-url-shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortner with NodeSJ, EXPRESS and MongoDB

Heroku Setup

https://dashboard.heroku.com/apps/YOUR-APP/settings

MongoDB Atlas Setup

Create a new database in Mongo Atlas.

https://www.mongodb.com/cloud/atlas

Get the driver key from 'connect' button.

Go down to the config-vars section:

Add mongo driver key from mongo atlas to the heroku config var as MONGODB_KEY. and done !

Example:

MONGODB_KEY : mongodb+srv://<user>:<password>@cluster0.b8dz.mongodb.net/urlshortner?retryWrites=true&w=majority

About

A simple url shortner built using NodeJS, Express and MongoDB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published