Giter Site home page Giter Site logo

core's Introduction

Core

Welcome to Core app!

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

StartUp

Build react UI

  1. Install npm packages specified in {basePath}/Core/Core.React.UI/package.json
npm install --only=dev
npm install
  1. 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

Build angular UI

  1. Install npm packages specified in dev {basePath}/Core/Core.Angular.UI/package.json

  2. 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

Create database

  1. 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/
  1. 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
  1. 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/
  1. 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

alt text

Run app and login

  1. Set {basePath}/Core/Core.Server as startup project in Visual Studio

  2. Run (F5). Check if server is available on

http://localhost:3000/react/
http://localhost:3000/angular/

Credentials

Use the following credentials to log in

username: nmatch
password: montenegro44

or

username: katatinak
password: montenegro44

Screenshots

Angular

alt text

React

alt text

core's People

Contributors

stanols avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.