GithubHelp home page GithubHelp logo

sucrose0413 / tinyurl-service-fabric Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adityastic/tinyurl-service-fabric

0.0 0.0 0.0 59 KB

Tiny URL with microservices architecture using service-fabric

License: MIT License

C# 74.59% PowerShell 25.41%

tinyurl-service-fabric's Introduction

TinyURL

.NET CI Codacy Badge

This is an implimentation of Tiny URL using Azure Service Fabric

Deploy it on your Azure

Deploy to Azure

API Doc

API Description Returns Parameters
/createURL Create ShortURL for a link An object with the shortURL.
eg: In JSON :
{ "shortUrl" : "http://localhost:8471/c" }
Form Parameters:
  - URL : String (URL that you want to convert)
  - partition : int (partition id to fetch a specific reliable collection)
/{shortURL} Redirects you to the stored URL A Redirect to the stored URL. Route/Path Parameter:
  - shortURL : String (short url returned after /createURL API)
Query Parameter:
  - partition : int (partition id to fetch a specific reliable collection)

Pre-Requisites

  1. Visual Studio
  2. Service Fabric Development Environment

Setup Environment

  1. git clone https://github.com/adityastic/TinyURL-Service-Fabric to your desired location. The Directory should look something like this: image
  2. Double-CLick on TinyURL.sln or Open this folder using Visual Studio.

Running Tiny URL on local dev cluster

Note: Make sure you have a minimum 5 Node Service Fabric Cluster on your machine. Checkout Setting up a Development Environment.

  1. Right-Click on the TinyURL Project.
  2. Select Debug.
  3. Select Start new instance.

Image for reference: image

License

This project is Free and Open Source software. The project is licensed under the MIT.

tinyurl-service-fabric's People

Contributors

adityastic avatar sucrose0413 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.