This repository holds search github user project which was developed when learning Angular 2.
The base code was taken from angular's quick start project. The course from udemy on learn angular 2 was used as reference.
Node.js and npm are essential to Angular development.
Get it now if it's not already installed on your machine.Verify that you are running at least node v4.x.x and npm 3.x.x
by running node -v and npm -v in a terminal/console window.
Older versions produce errors.
We recommend nvm for managing multiple versions of node and npm.
Clone this repo into new project folder (e.g., my-proj).
git clone https://github.com/angular/quickstart my-proj
cd my-projSee npm and nvm version notes above
Install the npm packages described in the package.json and verify that it works:
npm install
npm startDoesn't work in Bash for Windows which does not support servers as of January, 2017.
The npm start command first compiles the application,
then simultaneously re-compiles and runs the lite-server.
Both the compiler and the server watch for file changes.
Shut it down manually with Ctrl-C.
You will need to update your github client id & client secret key in github.service.ts file.
You're ready to write your application.