Angular 2 Client App

Next, we'll create an Angular 2 app and make sure it runs in a docker container.

Create a directory calledangular-clientinside themean-dockerdirectory we created above, and initialize an Angular 2 App with the Angular CLI.

$ mkdir angular-client
$ cd angular-client
$ ng init

This scaffolds an angular app, and npm installs the app's dependencies. Our directory structure should be like this

└── mean-docker
    └── angular-client
        ├── README.md
        ├── angular-cli.json
        ├── e2e
        ├── karma.conf.js
        ├── node_modules
        ├── package.json
        ├── protractor.conf.js
        ├── src
        └── tslint.json

Runningng serve, inside theangular-clientdirectory should start the angular app athttp://localhost:4200.

results matching ""

    No results matching ""