Clean Architecture Application Design from Scratch using Dotnet Core 5 WebApi and Angular 11 FrontEnd
/sql/
"DBProvider": "MSSQL" ,
Use MSSQL
to connect to Microsoft SqlServer Or POSTGRES
to connect to PostgreSQL database"ConnectionStrings": { "MSSQLConnection": "Data Source=DESKTOP-SUNILBO;Initial Catalog=CleanArchitectureDB;User ID=sa;Password=xxx;MultipleActiveResultSets=True", "PostgresConnection": "Server=127.0.0.1;Port=5432;Database=CleanArchitectureDB;User Id=postgres;Password=xxx;Timeout=30;TimeZone=UTC" }'
npm install
CleanArchitectureApp.WebApi
and CleanArchitectureApp.UserInterface.AngularWeb
CleanArchitectureApp
CleanArchitectureApp.WebApi
and CleanArchitectureApp.UserInterface.AngularWeb
Webapi http://localhost:5001
AngularWeb http://localhost:5003
Username: system
Password: admin@123
AWS Lambda Deployment, AWS RDS Instance Creation and Managing the database connectionstring using AWS Systems Manager
Read the below articles to get some understanding on the AWS RDS , Lambda and Systems Manager.
Change the settings in appsettings.json IsCloudDeployment
Region
CloudSSMConnectionString
"IsCloudDeployment": "true",
"Region": "ap-south-1",
"DBProvider": "POSTGRES" ,
"ConnectionStrings": {
"MSSQLConnection": "Data Source=DESKTOP-SUNILBO;Initial Catalog=CleanArchitectureDB;User ID=sa;Password=admin@123;MultipleActiveResultSets=True",
"PostgresConnection": "Server=127.0.0.1;Port=5432;Database=CleanArchitectureDB;User Id=postgres;Password=admin@123;Timeout=30;TimeZone=UTC",
"CloudSSMConnectionString": "/CleanArchitectureAppWebApi/postgresconnection"
},
Follow these steps to get your development environment: (Before Run Start the Docker Desktop)
docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d