Not a starter, just an exploration into hooking these things up, playing with features, syntax and semantics.
Includes:
- ASP.NET Core v7 (JWT Authentication)
- React v18 (Redux, React Router)
- Vite (React, TypeScript + SWC template)
- SignalR (with secure web sockets)
Vite runs on port 3000 and proxies api and web sockets calls to the API on port 7200
See Developing ASP.NET Core Applications with Docker over HTTPS
// Windows
dotnet dev-certs https
dotnet dev-certs https --trust
This will spin up a container and seed the database with the required tables for identity management.
docker compose -f docker-compose.postgres.yml up -d
pgAdmin will be available at http://localhost:7433
. To add a new server, Host must match the service name. In this case, cvr-postgres
. However, port should be the internal port 5432
To just run the whole thing from a container (in development mode)
docker compose up -d