- Docker Hub image: https://hub.docker.com/repository/docker/teovincent/blef
- Specification: https://blef.azurewebsites.net/swagger/index.html
$ dotnet run --project ./src/Blef.Bootstrapper/Blef.Bootstrapper.csproj
then open your web browser to https://localhost:49153/swagger
NOTE: Web Application will run HTTPS without certificate. To fix it run
dotnet dev-certs https --trust
as described in https://www.hanselman.com/blog/developing-locally-with-aspnet-core-under-https-ssl-and-selfsigned-certs
$ docker build -t blef-dev .
$ docker run -dp 3000:80 blef-dev
then open your web browser to http://localhost:3000/swagger
$ docker run -dp 5000:80 teovincent/blef:latest
then open your web browser to http://localhost:5000/swagger
The starting point is the Blef.Bootstrapper
project that is responsible for loading modules and launching the service.
Starting points of modules are in API projects, specifically in Blef.Modules.*.Api
projects. Every API project contains a class that implements the IModule
interface.
Currently, the project consists of two modules: Games
and Users
. The Games
module has a starting point defined in the GamesModule
class, and the Users
module has a starting point defined in the UsersModule
class.
Each API project module has controller definitions and its own JSON configuration files.