Demo Lives at : https://searchmoviez.herokuapp.com/ (Please mind the delay as its free hosted)
Run npm install
after cloning the repo
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 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.
Angular Pipe called searchFilterPipe.ts is written from sctratch to handle the matching search queries, this works with local data sources in the events such as the data is already loaded
This file includes all the logic written for searching movies - autocomplete.
This file contains the HTTP service call methods written to handle the REST calls
https://www.omdbapi.com is used to retrive movie data, which is served by the Movie Service written. There might be some slowness due to the limitations of this FREE api, but feel free to bind a local data storage in case you need to switch data source.
- Fall back data source for AutoCompletion as a Service
- Local data caching mechanism to prevent calling redundant REST calls
- Improve the UI with more features