This Repo is intended to be used as a template frontend repo for all moleculemaker frontends. This project was generated with Angular CLI version 18.2.7.
- Clone repo to local machine
- If you do not have nvm installed, install it from https://github.com/nvm-sh/nvm
- Run
nvm useto set the correct node version for this project - Run
npm installto install the dependencies - Run
npm run initto generate deployment configuration for the app. You will be prompted to enter the app name.
This repo includes a library that helps build frontend application quickly.
-
Code Generator:
-
Command:
ng g @moleculemaker/dev-tool:mmli-jobEffect: Generate a template job input page, loading page, and result page
-
Command:
ng g @moleculemaker/dev-tool:deploymentEffect: Generate an application with ArgoCD deployment configuation.
-
-
UI Library
All builtin components are inside
src/app/componentsfolder.Component Preview (WIP): use storybook
Run npm start for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.