Skip to content

distributed url shortner project designed for highly scaled scenarios

Notifications You must be signed in to change notification settings

Erfan-ffa/UrlShortner-DistributedSystem-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Url_Shortner_Project

  • How to run the project?

    1- First of all create a network in your docker using following command: docker network create miniurlproject

    2- Then run the docker compose file.

    3- After that run the follwoing command in your terminal: docker exec -it mongo-replica-container mongosh --eval "rs.initiate({_id:'rs0', members: [{_id:0, host: 'mongo-replica-container'}]})"

    4- You could ensure the replicaset is initated properly by running this command: docker exec -it mongo-replica-container mongosh --eval "rs.status()"

    5- Done :)

    • Flow Of Creating A New ShortUrl Flow Of Creating A New ShortUrl

Releases

No releases published

Packages

No packages published

Languages