Skip to content

A dotnet api that creates a shorten link out of the one it receives.

Notifications You must be signed in to change notification settings

drethedevjs/shortlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Objective

Your assignment is to implement a URL shortening service using C# and .Net.

Brief

ShortLink is a URL shortening service where you enter a URL such as https://codesubmit.io/library/react and it returns a short URL such as http://short.est/GeAi9K.

Tasks

  • Implement assignment using:
    • Language: C#
    • Framework: .Net
    • Two endpoints are required
      • /encode - Encodes a URL to a shortened URL
      • /decode - Decodes a shortened URL to its original URL.
    • Both endpoints should return JSON
  • There is no restriction on how your encode/decode algorithm should work. You just need to make sure that a URL can be encoded to a short URL and the short URL can be decoded to the original URL. You do not need to persist short URLs to a database. Keep them in memory.
  • Provide detailed instructions on how to run your assignment in a separate markdown file
  • Provide API tests for both endpoints

Evaluation Criteria

  • C# best practices
  • API implemented featuring a /encode and /decode endpoint
  • Show us your work through your commit history
  • Completeness: did you complete the features? Are all the tests running?
  • Correctness: does the functionality act in sensible, thought-out ways?
  • Maintainability: is it written in a clean, maintainable way?

CodeSubmit

Please organize, design, test and document your code as if it were going into production - then push your changes to the master branch. After you have pushed your code, you may submit the assignment on the assignment page.

All the best and happy coding,

The Stake Team

About

A dotnet api that creates a shorten link out of the one it receives.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages