Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Deprecated: Frontend framework for prototyping Ampersand applications; implemented in Angular

Notifications You must be signed in to change notification settings

AmpersandTarski/prototype-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo has been merged to AmpersandTarski/prototype and should no longer be updated.

Ampersand Prototyping Frontend

Frontend framework for prototyping Ampersand applications; implemented in Angular

Generate application specific components using the Ampersand compiler

Significant amount of code is generated using the Ampersand compiler based upon the ADL model files. The generated frontend module is contained in the /src/app/generated folder.

To update the generated application, when ADL model files have changed or when changes are made to template, you can run the following command:

./ampersand proto --no-backend --frontend-version Angular --proto-dir ./src/app/generated --crud-defaults cRud <path-to-application-entry-script>.adl

E.g. to generate an application for the ProjectAdministration project (which is available as test asset), run:

./ampersand proto --no-backend --frontend-version Angular <path-to-application-entry-script>.adl --proto-dir ./src/app/generated --crud-defaults cRud .\test\assets\project-administration\model\ProjectAdministration.adl

The required Ampersand compiler with support for generating new frontend module is still work in progress. You can download a compiler version from Github here. Use a version >= v4.7.6.

How to install and start up the local instance?

A step by step guide on how to install and run this project can be found in docs/README.md

Using the dev container

Inside the dev container, use the dev-container configuration to serve the application: ng serve -c dev-container.

This is needed because the dev-container needs a different proxy configuration; forwarding /api to http://host.docker.internal:80 instead of http://localhost:80.

To have a backend running at port 80 for the frontend to connect to, deploy an Ampersand prototype application. E.g. the Project Administration application.

Testing

The Robot Framework Install & Run Guide contains instructions for installing and running Robot Framework.

About

Deprecated: Frontend framework for prototyping Ampersand applications; implemented in Angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published