20 lines
533 B
Markdown
20 lines
533 B
Markdown
|
# 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
|
||
|
```json
|
||
|
{
|
||
|
"Port": 5555,
|
||
|
"HashIdsSalt": "Some Unique Value So People Can't Guess Id's In Database",
|
||
|
"UrlRoot": "http(s)://YourDomain/RootPathToAppInBrowser"
|
||
|
}
|
||
|
```
|
||
|
And then
|
||
|
```bash
|
||
|
$ dotnet run
|
||
|
```
|
||
|
|
||
|
# This app depends on
|
||
|
- Tesses.WebServer (and Tesses.WebServer.EasyServer)
|
||
|
- LiteDb
|
||
|
- Hashids.net
|
||
|
- Newtonsoft.Json
|