docker run --name mariadb --restart always -v mariadb:/var/lib/mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=1 -d mariadb:latest
Also you have to create the database named webapp
"WebAppContext": "Server=192.168.99.100; Port=3306; Database=webapp; Uid=root; Pwd=1;"
Update-database
The home page it contains the list of the posts that the admin created.
Admin section secured with cookie authentication. At this section you can add posts.
Manages the logic of the cookie authentication.
Implemented to secure some of the endpoints such as admin section, its implmented on Startup.cs and the AccountController, there is the logic for the authentication.