This is mini app for browsing records from Food Data Api.
-
npm install
-
node ./server.js
(port 4000) -
npm run start
(port 3000)
GraphQL playground - http://localhost:4000/graphql
Then go to http://localhost:3000 to play with the UI.
Once its up and running, UI allow us to type the query to search particular food with additional filters and sort options.
Additional features:
- Filters
- Query Input
- Sorting
Example:
- Type
cherry
in Query input - Select filter
Pepsi
in the Brand Owner section - That will display all of the Pepsi products related to cherry flavour