This project is a collaborative effort of people who have been learning Angular at Motorola Solutions Inc. We came together and started developing this application to learn Routes, Material Design, Directives, Components, Guards, Module, Services with Dependency Injection, and other constructs in Angular 7x.
You can either use git clone https://github.com/tarikguney/angular-example-securelogin
if you have Git installed on your machine, or download the project as a .zip file from the website itself.
Once you have downloaded the source code, follow the steps below:
- Make sure you have NodeJS installed by typing in
node
on your command prompt. If you seenode
commands, then you are good. Otherwise, download NodeJs from nodejs.org. I would recommend the download of current NodeJS version instead of LTS version. - The project does not come with
node_modules
folder; therefore, you need runnpm install
only once to get all the node modules from npm registry before you start the project. This project stores all of its dependent npm modules inpackage.json
andpackage-lock.json
files. - Once you have downloaded all the
node_modules
, now you can run either of the following commands:npm start
orng serve -o
to start the built-in angular server to start serving the angular files to the browser to see the project running.
If you are having port conflict, then set the port to something else. By default, Angular uses 4200
port, and you can change with --port
option as in ng serve -o --port 4201
.
Talk to @tarikguney or create a new issue under the Issues tab on Github.
Developed by Motorola Solutions employees with <3...