How dust555/docker_examples works
This repository is a collection of Docker-oriented learning examples, not one integrated application. A representative user-to-result workflow is the Todo API: an HTTP client invokes CRUD endpoints, the controller maps request/response DTOs and delegates operations to a repository, which uses an EF Core context configured for MySQL. The tree also documents Python and car API examples, Docker hello-world programs, and an NLP sentiment-analysis train/deploy example. Those are separate demonstrations; the README is empty, and unsampled implementations are represented only where the tree supports them.
Main entry points: TodoController.cs Todo endpoints · MysqlRepo.cs MySQL repository · Todo.cs Todo entity · Program.cs API configuration
Components 19
Todo API
- Todo endpoints
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Controllers/TodoController.cs - Todo DTOs
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/dto - Todo mappings
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Mappings/TodoProfile.cs - Todo entity
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Models/Todo.cs - MySQL repository
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Repositories/MysqlRepo.cs - Todo context
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Contexts/TodoContext.cs - API configuration
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Program.cs - MySQL database
Car APIs
- Car endpoints
12 - DockerCompose ASP.NET api with mysql database/myshop_csproj/Controllers/CarController.cs - Car repositories
12 - DockerCompose ASP.NET api with mysql database/myshop_csproj/Repositories - Car mapping
12 - DockerCompose ASP.NET api with mysql database/myshop_csproj/MappingProfiles/CarProfile.cs
Web Examples
- Python web servers
05 - Python webserver/webserver.py - Mock car API
06 - ASP.NET Mock API webserver/CarApi/Controllers/CarController.cs - Python hello-world
02 - Creating HelloWorld Docker Image - Python/HelloWorld.py - .NET hello-world
03 - Creating HelloWorld Docker Image - C#/HelloConsole/Program.cs
Sentiment Analysis
- Model training
AI - 01 - NLP Sentiment Analysis/01 - Train/train.py - Sentiment deployment
AI - 01 - NLP Sentiment Analysis/03 - Deploy/app.py
Other components
- HTTP client
- HTTP client
Connections 15
- HTTP client → Todo endpoints: calls CRUD routes
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Controllers/TodoController.cs - Todo endpoints → MySQL repository: delegates CRUD
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Controllers/TodoController.cs - Todo endpoints → Todo DTOs: maps API data
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Controllers/TodoController.cs - Todo endpoints → Todo entity: creates entities
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Controllers/TodoController.cs - Todo mappings → Todo DTOs: maps DTOs
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Mappings/TodoProfile.cs - Todo mappings → Todo entity: maps entity
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Mappings/TodoProfile.cs - MySQL repository → Todo context: uses context
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Repositories/MysqlRepo.cs - MySQL repository → Todo entity: reads and writes
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Repositories/MysqlRepo.cs - Todo context → Todo entity: stores entities
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Contexts/TodoContext.cs - API configuration → MySQL repository: registers repository
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Program.cs - API configuration → Todo context: configures context
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Program.cs - API configuration → MySQL database: configures MySQL
13 - DockerCompose ASP.NET EF Migrations dotnet 6/todo_aspnet/Program.cs - HTTP client → Car endpoints: calls car routes
12 - DockerCompose ASP.NET api with mysql database/myshop_csproj/Controllers/CarController.cs - Car endpoints → Car repositories: delegates operations
12 - DockerCompose ASP.NET api with mysql database/myshop_csproj/Controllers/CarController.cs - Model training → Sentiment deployment: deploys model