The application is designed to compare web frameworks.
Software engineers who want to play with both frameworks, test components and try differend architecture tricks, share their ideas and thoughts with other engineers, welcome to my sandbox.
Enjoy
- Install npm packages specified in {basePath}/Core/Core.React.UI/package.json
npm install --only=dev
npm install
- Build UI with webpack for development environment
npm run build
for development environment in watch mode
npm run build:watch
for production environment
npm run build:prod
-
Install npm packages specified in dev {basePath}/Core/Core.Angular.UI/package.json
-
Build UI for dev environment
npm run build
for development environment in watch mode
npm run build:watch
for production environment
npm run build:prod
- To get started you will need to install postgres sql server v10 or higher with default settings (port=5432, user=postgres password=password1) or create database using docker container (step 2)
https://www.postgresql.org/download/
- Create database according to connection string specified in {basePath}/Core/Core.DAL/appsettings.json, docker example
docker run --rm --name postgres -e POSTGRES_PASSWORD=password1 -p 5432:5432 -e POSTGRES_DB=coredb -d clkao/postgres-plv8
- Apply migrations. Open Package Manager Console in Visual Studio or (Command Prompt, Powershell etc.) and change directory to the Server.Server folder (optional)
cd {basePath}/Core/
- Apply migrations running command
dotnet ef database update --context CoreDbContext --project ./Core.DAL/Core.DAL.csproj --startup-project ./Core.Server/Core.Server.csproj --verbose
Schema
-
Set {basePath}/Core/Core.Server as startup project in Visual Studio
-
Run (F5). Check if server is available on
http://localhost:3000/react/
http://localhost:3000/angular/
Use the following credentials to log in
username: nmatch
password: montenegro44
or
username: katatinak
password: montenegro44
Angular
React