An open API service indexing awesome lists of open source software.

https://github.com/aristocrab/aspiretodoapp

Todo app created with .NET Aspire and Angular
https://github.com/aristocrab/aspiretodoapp

angular aspire aspnet dotnet efcore graphql mongo postgres rest

Last synced: 3 months ago
JSON representation

Todo app created with .NET Aspire and Angular

Awesome Lists containing this project

README

          

# AspireTodoApp

![Unit tests](https://github.com/Aristocrab/AspireTodoApp/actions/workflows/dotnet.yml/badge.svg)

## How to run
Requires Docker to be running
```
> cd AspireTodoApp.AppHost
> dotnet run
```

## Technologies used
- .NET Aspire (with Docker)
- ASP.NET Core
- EF Core
- MongoDB.Driver
- Serilog
- HotChocolate (GraphQL)
- Redis
- Scalar (API docs)
- Angular
- Tailwind
- xunit
- Shouldly

## Screenshots

### Angular
You can switch between REST and GraphQL, as well as between MongoDB and Postgres. The data is synced between the two databases.

![](/img/angular.png)

### Aspire resources
![](/img/aspire-resources.png)

### Aspire traces
![](/img/aspire-traces.png)

## Aspire resource diagram
```mermaid
flowchart LR
angular(angular)
apiservice(apiservice)
cache(redis)
mongo(mongo)
mongodb(mongodb)
postgres(postgres)
postgresdb(postgresdb)

angular --> apiservice
apiservice --> cache
apiservice --> mongodb
apiservice --> postgresdb
mongodb --> mongo
postgresdb --> postgres
```