Welcome to the Employee Directory! Here's an app that lists the employees in our awesome company. The app was created using Angular 8.
- Node.js 10+: please install Node.js version 10 or later using the information on this page.
- npm 6+: You should have this installed once you install Node.js v10+.
- The Angular 8 CLI: you can install it using
npm install -g @angular/cli
. - Git: a free and open source version control system. You can find download and installation instructions for it on this page.
This app was created using Angular 8. Furthermore, the following tech and patterns in the Angular ecosystem were used to implement it:
- the Angular Router.
- named router outlets (for rendering the app's navbar and footer).
- data resolvers (for the employee details page).
- ngrx for state management (just like Redux is used in React apps).
- Open a terminal window/command prompt.
- Clone this repository using:
git clone https://github.com/folushooladipo/employee-directory.git
- Run
cd employee-directory
to navigate into the repository's directory. - Run
npm install
to install the app's dependencies. - Run
ng serve
to start the app. - Open
http://localhost:4200
in your favourite browser to see the app in the flesh!
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
This project is licensed by Folusho Oladipo for your use under the MIT licence. All rights are NOT reserved.