Solution used for conventions and other events to organize and register their attendees
This solution uses the following dependencies:
- .NET 9.0
- Nuxt 3
- PostgreSQL
- RabbitMQ
- Redis
- Keycloak
- Azure Storage (with emulator on local)
- Start AppHost
- On Aspire Dashboard, access to pgsql-admin URL.
- On the pgsql server, create two databases:
- app-db
- keycloak-db
- Restart AppHost
- Start AppHost.
- Login in Keycloak with default login (admin:@admin!). If in Production, change this password!!! Generate a random one and save it safely (in a password manager for example).
- Go to Aspear realm
- Create a new admin user with realm-admin role
- Clients should be already configured (!!!!In production, regenerate Credentials like Client Secrets!!!!)
- Log into Grafana with default credentials (admin:admin)
- Change default password to whatever you want
- Log out
- Log in with Keycloak as the recently created admin on Keycloak (in Realm Aspear)
- Log out
- Log in with the Grafana admin account
- Go to Users and go to Keycloak admin
- Set it as Grafana Admin
- (Optional) You can now delete the default Grafana Admin if needed (or in Production)
- For non-secrets, fill out AppHost appsettings.Production.json (NON-SECRET ONLY)
- For secrets, add them in your github secrets and ensure it is deployed (see .github/deploy.yml)
- Redeploy.
To check if everything worked, you should be able to see the new secrets on your new Aspire container.
This error is due to a common package deprecation since node 21.
Use nvm to target node 20 in your IDE terminal. It will take the latest node 20.