Skip to content

TimTran-Dev/NewsAppAPI

Repository files navigation

NewsApp Backend API

.NET 8 RESTful API for news article discovery, management, and bookmarking with Clerk authentication and PostgreSQL persistence.

Build and Test Coverage

What It Does

📰 News hydration from NewsAPI • 🔍 Search & pagination • ❤️ User bookmarks • 📝 Article creation & management • 🔐 Clerk JWT authentication • 🗄️ PostgreSQL persistence

Tech Stack

.NET 8C# 12Entity Framework Core 8PostgreSQLxUnitMoqSwagger/OpenAPIRender deployment

Architecture

  • Controllers: HTTP endpoints with authorization and validation
  • Services: Business logic with dependency injection
  • Repositories: Data access patterns with interfaces
  • Models: Domain entities (NewsArticles, UserArticle, UserBookmark)
  • DTOs: Data transfer objects for API responses
  • Migrations: EF Core migrations for schema management

Build & Development

Requirements: .NET 8 SDK, PostgreSQL (local or Supabase)

dotnet restore              # Restore dependencies
dotnet run                  # Dev server (http://localhost:5000)
dotnet test                 # Run all tests
dotnet build -c Release     # Production build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors