https://github.com/jcflow/challenger
Challenger is a web application that support all kind of games with user management.
https://github.com/jcflow/challenger
asp-net-core brackets challenge challenger csharp docker game graphql pwa react tournament
Last synced: 11 months ago
JSON representation
Challenger is a web application that support all kind of games with user management.
- Host: GitHub
- URL: https://github.com/jcflow/challenger
- Owner: jcflow
- Created: 2020-05-01T04:02:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:18:58.000Z (over 3 years ago)
- Last Synced: 2025-02-12T14:24:24.593Z (about 1 year ago)
- Topics: asp-net-core, brackets, challenge, challenger, csharp, docker, game, graphql, pwa, react, tournament
- Language: C#
- Homepage:
- Size: 11.2 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Challenger
Challenger is a web application that support all kind of games with user management.
It users Team VS. Team brackets as game type.
## Getting Started
### Execution
```sh
./run.sh
```
OR
```sh
docker pull mcr.microsoft.com/mssql/server
docker run -d --name challenger-db -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Password123' -p 1433:1433 mcr.microsoft.com/mssql/server:latest
SERVER_URL_OR_NAME=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' challenger-db)
sed -i'.original' -e "s/SERVER_URL_OR_NAME/$SERVER_URL_OR_NAME/g" ./Models/appsettings.json
docker build -t challenger-service .
docker run -d -it -p 8000:80 -p 8001:443 -e ASPNETCORE_URLS="https://+;http://+" -e ASPNETCORE_HTTPS_PORT=8001 -e ASPNETCORE_Kestrel__Certificates__Default__Password="password" -e ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx -v ${HOME}/.aspnet/https:/https/ --name challenger-service challenger-service
mv Models/appsettings.json.original Models/appsettings.json
```
### Migrations
```sh
dotnet ef database drop
dotnet ef migrations remove
dotnet ef migrations add InitialCreate
dotnet ef database update
```
## Architecture

### Class Diagram
The core base of the application is using C#.

## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details