Skip to content

vitormargis/groceriesinc

Repository files navigation

Search input with autocomplete to find fruits from Groceries Inc. Demo https://groceriesinc.vercel.app/

Example CLI running

Getting Started

Build and start project

npm start

Run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Run tests

Unit Tests

npm run test

E2E Tests

npm run e2e

Open http://localhost:3000 with your browser to see the result.

Todo

  • Serve side fetch for bigger set of suggestions
  • Mock suggestions for E2E
  • Arrow navigation scroll down in suggestion
  • Fruit page after search