A web application for tracking and managing personal subscriptions with automatic monthly and yearly cost calculations.
Personal project developed to:
- Track my multiple subscriptions (streaming, SaaS, sports)
- Demonstrate proficiency with .NET and Angular in a business context
- Apply software architecture patterns (Clean Architecture, Repository Pattern, JWT Authentication)
- JWT authentication with refresh tokens
- Full CRUD operations for subscriptions
- Dashboard with statistics (total monthly/yearly costs)
- Multi-user support (isolated user data)
- Paginated results
- REST API with Swagger documentation
Backend:
- .NET 8 / C#
- ASP.NET Core Web API
- Entity Framework Core (Code First)
- PostgreSQL
- JWT Authentication
- Clean Architecture with Repository Pattern
Frontend:
- Angular 20 with Typescript
Database: Port : 5433 With Docker
docker run --name postgres-submanager -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=submanager -p 5433:5432 -d postgres
Backend:
cd SubManager.API
dotnet restore
dotnet-ef database update
dotnet runFrontend:
cd web
npm install
ng serveOnce running, access Swagger UI at: http://localhost:5267/swagger/index.html
Main endpoints:
POST /api/register- Create new accountPOST /api/login- Authenticate userGET /api/me/subscriptions- Get user subscriptions (paginated)POST /api/me/subscriptions- Create subscriptionGET /api/me/subscriptions/{id}- Get subscription detailsPUT /api/me/subscriptions/{id}- Update subscriptionDELETE /api/me/subscriptions/{id}- Delete subscription
SubManager/
├── SubManager.API/ # Web API layer
├── SubManager.Application/ # Frontend application
├── SubManager.Domain/ # Domain entities and interfaces
├── SubManager.Infrastructure/ # Data access and external services
└── SubManager.Tests/ # Unit tests
Design patterns:
- Clean Architecture (separation of concerns)
- Repository Pattern (data access abstraction)
- Dependency Injection
- DTOs for API contracts
cd SubManager.Tests
dotnet testBackend + Database: Railway
Frontend: Vercel
This project is licensed under the MIT License - see the LICENSE file for details.


