O Dot-Folha-API é uma api para cadastro de:
- Empresas
- Usuários
- Pagamentos
- Endereços
Com fim acadêmicos, desenvolvido em:
- C# (.NET Core 7.0) -- Swaggger -- Entity Framework 7.0
- Mysql 8.0
- Docker
docker-compose up db
dotnet run
dotnet watch run
Check in url:
http://localhost:3000/users
This project use CODE-FIRST workflow.
You'll need:
- https://learn.microsoft.com/en-us/ef/core/cli/dotnet (Cli commands to create/run and improve database)
dotnet tool install --global dotnet-ef
dotnet ef database update
dotnet ef migrations add users
docker-compose up --build
docker build -t dotnetservice .
docker container run -it --rm -p 3000:80 --name dotnetservicecontainer dotnetservice
docker exec -it dotnetservicecontainer bash
apt update && apt upgrade && apt install iputils-ping
ping db
docker exec -it db bash
mysql -uroot -proot dotfolhadb