An online platform for runners who can find clubs, events, and meet other runners in your area.
Installation Guide
git clone https://github.com/huynhducthanhtuan/practice-nestjs-typescript.git
appsettings.json
"ConnectionStrings": {
"DefaultConnection": "Data Source=THANHTUAN;Initial Catalog=RunGroups;Integrated Security=True;Connect Timeout=30;Encrypt=False;Trust Server Certificate=False;Application Intent=ReadWrite;Multi Subnet Failover=False"
}
4. Register Cloudinary account and update Cloudinary config
appsettings.json
"CloudinarySetting": {
"CloudName": "",
"ApiKey": "",
"ApiSecret": ""
}
5. Register IPInfo account and update IPInfo token in API URL
Controllers/HomeController.cs
string url = "https://ipinfo.io?token=IPInfo-Token";
dotnet build
dotnet run
Exception when backup database
Add-Migration Initialize
Update-Database
dotnet run seeddata
Run on Docker
docker build -t rungroup-image -f Dockerfile .
docker run rungroup-image