Go to file
Mike Nolan 2c2e4f1366 Initial Commit 2023-07-17 19:55:34 -05:00
data/www Initial Commit 2023-07-17 19:55:34 -05:00
.gitignore Initial Commit 2023-07-17 19:55:34 -05:00
LICENSE.md Initial Commit 2023-07-17 19:55:34 -05:00
Program.cs Initial Commit 2023-07-17 19:55:34 -05:00
README.md Initial Commit 2023-07-17 19:55:34 -05:00
UrlShortenEntry.cs Initial Commit 2023-07-17 19:55:34 -05:00
UrlShortener.csproj Initial Commit 2023-07-17 19:55:34 -05:00
UrlShortenerApp.cs Initial Commit 2023-07-17 19:55:34 -05:00

README.md

A Url Shortener Writen In C#

In order to use, you must copy the data folder so it is within the working directory and you must either run the program to setup or create data/config.json with this contents

{
    "Port": 5555,
    "HashIdsSalt": "Some Unique Value So People Can't Guess Id's In Database",
    "UrlRoot": "http(s)://YourDomain/RootPathToAppInBrowser"
}

And then

$ dotnet run

This app depends on

  • Tesses.WebServer (and Tesses.WebServer.EasyServer)
  • LiteDb
  • Hashids.net
  • Newtonsoft.Json