Skip to content

hamzeen/groceries-app

Repository files navigation

groceries app - frontend

This repo holds the front-end code for a simple groceries app. It is written in Angular. You can preview it here.
Please continue to the next section if you need to set it up locally in your machine.

Getting Started

NOTE: Please make sure you have NodeJS installed your machine. If this not the case, you can download & install it from here.

frontend routes

Design Decisions & UI Concerns

  • The entire project was done with a mobile-first design approach.
  • The grocery list page uses query params. It allows the last search term to be preserved on browser history.
  • This ensures the last filter criteira would be intact when the user returns back to ListView from DetailsView.
  • Jasmine testing framework has been employed for BDD.
  • Tests have been written to cover all the components.
  • The project follows SOLID principles, DRY
  • Since javascript is dynamically-typed, this project uses TypeScript to benefit from static-typing & add syntactic sugar.

Screens

grocery detail landscape filter groceries grocery detail portrait

  • from top to bottom: landing page, filter groceries, grocery detail landscape, grocery detail portrait

CREDITS

Photos used in this repo are all obtained from unsplash. I hereby give all credits to their respective owners on unsplash.com

About

a simple app which holds a master & detail view for groceries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published