Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fosouzadev-public/web-api-cloudflare-images
Web Api Rest simples para fazer upload de fotos no Cloud Flare
https://github.com/fosouzadev-public/web-api-cloudflare-images
cloudflare cloudflare-images csharp rest-api
Last synced: 23 days ago
JSON representation
Web Api Rest simples para fazer upload de fotos no Cloud Flare
- Host: GitHub
- URL: https://github.com/fosouzadev-public/web-api-cloudflare-images
- Owner: fosouzadev-public
- Created: 2024-11-08T21:21:18.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T11:16:42.000Z (3 months ago)
- Last Synced: 2025-01-06T13:27:09.735Z (about 1 month ago)
- Topics: cloudflare, cloudflare-images, csharp, rest-api
- Language: C#
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web Api
Web Api Rest simples para fazer integração com a API do Cloud Flare Images.## Comandos utilizados para criação dos projetos
```csharp
dotnet new sln -n WebApiUploadCloudFlaredotnet 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.0dotnet sln add "src/WebApi" -s src
dotnet sln add "src/Domain" -s src
dotnet sln add "src/Infrastructure" -s srcdotnet 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](https://dash.cloudflare.com/login) do CloudFlare:
* account_id
* token