Welcome to the YouTube Content Creator API! This powerful and scalable API allows you to efficiently manage YouTube creators, track their content, and organize metadata—all while leveraging the latest .NET 10 features.
Why Use This API?
- 🎯 Automate YouTube Creator Management
- 🚀 High Performance & Scalable
- 🔒 Secure with Robust Error Handling
- 🛠 Optimized for Modern Web Development
✅ Retrieve All YouTube Content Creators – Fetch a list of all registered creators.
✅ Get Creator Details by ID – Retrieve detailed creator metadata by ID.
✅ Create New Content Creator – Add new creators using their YouTube channel ID.
✅ Secure & Error-Handled API – Ensures valid input and prevents duplicates.
✅ Docker-Ready – Deploy effortlessly with containerization.
✅ Database-Powered – Uses PostgreSQL with Entity Framework Core for reliable data storage.
✅ Automated Testing – Implements xUnit for unit and integration testing.
📌 src/Youtube.Api – Main API logic and request handling.
📌 src/Application – Business logic and validation.
📌 src/Infrastructure – Database operations using EF Core & PostgreSQL.
📌 tests/Youtube.Api.Tests – Unit and integration test cases.
📌 docker-compose.yml – Sets up PostgreSQL and API in Docker.
✅ .NET 10 SDK
✅ Docker
✅ PostgreSQL
git clone https://github.com/yourusername/YouTubeContentCreatorAPI.git
cd YouTubeContentCreatorAPIdocker-compose up -ddotnet run --project src/Youtube.Api| Method | Endpoint | Description |
|---|---|---|
| GET | /api/content-creators |
Retrieves all content creators |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/content-creators/{id} |
Fetches creator details by ID |
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/content-creators |
Adds a new creator |
curl -X GET "http://localhost:5000/api/content-creators" -H "accept: application/json"docker-compose up --build🔹 Swagger UI – http://localhost:5000/swagger
🚀 The API is fully Dockerized, making deployment simple and scalable.
Set up environment variables in docker-compose.yml:
services:
youtube.api:
environment:
- ConnectionStrings__PostgresConnection=your-postgres-connection-stringdotnet test📌 Use Postman or Swagger UI to:
✅ Retrieve creators → /api/content-creators
✅ Fetch creator by ID → /api/content-creators/{id}
✅ Create a new creator → /api/content-creators (POST)
✅ Effortless YouTube Creator Management – Automates creator data handling.
✅ Secure & Reliable API – Prevents errors & duplicate data.
✅ Docker & Cloud Ready – Deploy on AWS, Azure, or Kubernetes.
✅ Modern Development Stack – Built with .NET 10, PostgreSQL, and EF Core.
This project is licensed under the MIT License. See LICENSE for details.
For feedback, contributions, or inquiries:
📧 Email: [email protected]
💻 GitHub: MrEshboboyev
🚀 Effortlessly manage YouTube creators with YouTube Content Creator API! Clone the repo & get started now!