Skip to content

cenengzhou/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

erp eForm

Run and Debug

Add New Form

Run and Debug

Checkout

git clone https://github.com/gammonconstruction/erp.eform
cd erp.eform
git submodule update --init

image

Debug api

dotnet restore
dotnet dev-certs https --trust  

image

*dotnet run --project api
*close all browser to apply trust
*vscode: ctrl+shift+p => Select Project => erp.eform

VS Code Extension

image

Run UI

cd  ui\ClientApp
npm install -g @angular/cli  
npm install

image

*ng serve --project eform
*first time will take time to compiling es2015 as esm2015 for node_modules

Debug UI

image

Add new form

SharedEformData

  • Entities

    image

  • Repositories

    image

  • Services

    image

  • SharedEformData.projitems

    image

GraphQL

  • Mutations

    image 下载

  • Queries

    image

  • Types

    image

Startup

image

Controller

image

Generate Application

image

*ng generate application csdpe --prefix=csdpe

AppImportModules

image

UI GraphQL Query

image

*update formData properties

UI GraphQL Config

image

UI NPM Script

image

{
    "download-schema:csdpe": "curl --ntlm --negotiate -u: https://localhost:5001/graphql/csdpe?sdl -o ./libraries/eform-graphql-api/src/lib/generated/schemas/csdpe.graphql",
    "codegen:csdpe": "npm run download-schema:csdpe && set NODE_TLS_REJECT_UNAUTHORIZED=0&& graphql-codegen --config libraries/eform-graphql-api/src/lib/config/csdpe.yml",
}

UI Export Client

image

UI Named GraphQL Client

image

UI Get Data

image

Test Auth Handler

Releases

No releases published

Packages

No packages published