Skip to content

sandisototo/shprt-tst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shoprite Test

  1. Go to project folder and install dependencies:
npm install
  1. Launch development server, and open localhost:4200 in your browser:
ng serve

- Open your broswer and go to: http://localhost:4200/
- Click on "Search" button and see results if a word from a file is found
- Click on "Reload" button to re-generate the GRID - repeat prev step

For manual testing: go to: app/components/grid-view.component.ts: start() change the gridList value and search for a word that is in the gridList

    // Example: 
    // this.gridList = [
    //   ["a", "b", "c", "d", "e"],
    //   ["f", "g", "h", "i", "j"],
    //   ["k", "l", "m", "n", "o"],
    //   ["p", "q", "r", "s", "t"],
    //   ["u", "v", "w", "x", "y"]
    // ]
    
    this.gridService.wordSearch(this.gridList, "abc"); // pass in word e.g abc, xy etc..

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published