Skip to content

fosouzadev-public/web-api-cloudflare-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Api

Web Api Rest simples para fazer integração com a API do Cloud Flare Images.

Comandos utilizados para criação dos projetos

dotnet new sln -n WebApiUploadCloudFlare

dotnet new webapi -n "WebApi" -o "src/WebApi" -f net8.0 -controllers
dotnet new classlib -n "Domain" -o "src/Domain" -f net8.0
dotnet new classlib -n "Infrastructure" -o "src/Infrastructure" -f net8.0

dotnet sln add "src/WebApi" -s src
dotnet sln add "src/Domain" -s src
dotnet sln add "src/Infrastructure" -s src

dotnet add "src/WebApi" reference "src/Domain"
dotnet add "src/WebApi" reference "src/Infrastructure"
dotnet add "src/Infrastructure" reference "src/Domain"

Configurações do CloudFlare

Informe no arquivo appsettings.json os seguintes valores obtidos no dashboard do CloudFlare:

  • account_id
  • token

About

Web Api Rest simples para fazer upload de fotos no Cloud Flare

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages