Frontend of a simple application for exploring multi-tenancy concepts. Works within a single tenant environment, identified by browsed domain.
Building Docker image requires to first build distribution files on local machine,
before docker build
call.
$ npm run build
$ docker build -t articles-webapp .
Running locally requires to articles-backend
application (along with its own dependencies) to be
up and running. Angular development server launches a reverse-proxy for /api
paths. Follow
backend instructions to launch it.
To run Angular development server use start
npm task.
$ npm start
The application will be available on http://localhost:4200
.
Note, that as a Docker service, the application works as a nginx server, available on
port :80
.
articles-app
, which holds Docker environment setup.articles-backend
, which holds backend application.articles-webapp
, which holds frontend application.