Code Monkey home page Code Monkey logo

chotu-url-shortner's Introduction

Chotu : URL Shortner

Contents

  1. Overview
  2. Basic Architecture
  3. Setup
  4. Demo
  5. Routes Used
  6. TODO

Overview


  • This Web App is made to understand underlying funtionality of URL Shortner sevices from prototying to scalabilty point of view.
  • Watch this system design Youtube video for proper understanding of system
  • Tech stack used : Bootsrap, NodeJS, MongoDB, ExpressJS, nanoid
  • Work on progress.

Basic Architecture


Architecture

Setup


Before proceeding please download and install NodeJS and MongoDB because it is required.

  1. Download/Clone the Repository
  2. Navigate into the Repository folder on your disk using Terminal
  3. Make sure that you have the Node and MongoDB installed
  4. Run the following command to run the setup,npm install
    Now everything required should be installed, go ahead and run the following command whenever you want to run the app, node index.js
The App would now be Up and Running on localhost:6700

Demo


Web App

Routes


Route Description Signature
/shorturl (post) Takes full URL as input Body: { url}
/:url (get) pass shorturl as paramater Body: { shorturl

TODO โ˜‘


  • Basic prototyping
  • Copy to Clipboard
  • Custom Naming
  • Expiration period
  • Add Redis for caching
  • Changing short code algorithm and check duplicate short codes
  • Make scalable

chotu-url-shortner's People

Contributors

arkumish avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.