/ng5-hotel-management-demo

A demo app built to learn Angular 5 and Material 2.

Primary LanguageTypeScript

Angular 5 Hotel Management Demo

A demo app built to learn Angular 5 and Material 2.

Live Demo: thilak.in/ng5-hotel-management-demo/

Features

  • Responsive layout using Angular Flex Layout
  • Instant loading state (loads before app bootstrap)
  • Filter state persisted as query parameters
  • Modular CSS using SASS mixins.

Development server

Install Yarn, Angular CLI and run yarn install

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.

Dependencies Dev Dependencies

Code scaffolding

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Next steps?

  • Add end-to-end tests via Protractor
  • More unit tests
  • Empty state for Hotel List Component
  • Support for paging to handle larger JSON payload.