Skip to content

An Angular microfrontend starter that serves unguarded public content via a micro-cms GraphQL datasource.

Notifications You must be signed in to change notification settings

Micro-cosm/micro-public

Repository files navigation

WeJaFoo Public

An Angular microfrontend starter that serves unguarded public content via a micro-cms GraphQL datasource.

Default port: 4400

This project was generated with Angular CLI version 11.2.2


PREREQUISITES

One of the following should be cloned or linked to a destination on your local path:

  • bin-zsh - deployment utility
  • bin-go - deployment utility
  • micro-realm - Firebase Hosting configs
  • Docker Desktop (or equivalent) - should include Docker Engine, Docker CLI client, Docker Compose

DEPLOYMENT

Local Docker server

Run pu.sh --local for a local Docker server. Navigate to http://localhost:4400/

Remote GCP server

Run pu.sh --remote=<_ALIAS_> for a local Docker server. Navigate to http://<_FIREBASE HOST_>/public/


DEVELOPMENT

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Development server

Run npm run start for a dev server. Navigate to http://localhost:4400/ The app will automatically reload if you change any of the source files.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the [Angular CLI README](https://github.com/angular/an gular-cli/blob/master/README.md).

About

An Angular microfrontend starter that serves unguarded public content via a micro-cms GraphQL datasource.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published