Groceristar-fetch, small module that we’ve created

Arthur Tkachenko
groceristar
Published in
2 min readAug 25, 2018
Copyright: Pixabay.com, free images

Groceristar fetch is our inner module. It’s a storage of food-related static data.

Problem.
We have a lot of projects(more than 5). Each of this projects has static arrays and methods, to work with them.

Why we need it.
In our company, we developing a few projects/modules. Some of this modules have an intersections. The aim of this plugin is to create a separated place for storage of this data. We’ll also create a simple interface to interact with that data.

My team is 100% packed with interns. And it’s usually hard to “dig” into the core functionality of our projects. it’s like trying to jump to the running train. We spend more than 1 year while developing our projects, so onboarding is usually tough.

But my team trying their best, so big thank you, team!
They also struggle when I assign badly covered tasks for them…

So if we have a less complicated and not overweighted projects — they will be able to understand main logic fast and will be able to generate more results in a short amount of time.

Why I’m talking about this module?
The main reason — because someone can use it too!
As we’re storing our data in JSON format — it can be used in different languages later. I was inspired by the eaternity repository and I wanted to have the same thing.

And I wish that our plugin will be used in other Food Tech projects as well

I spend a lot of time, while I collect that data, while I organize that data from different open sources and convert that info into simple, cross coding language type.

It helps us to use in our Javascript projects, But I’m pretty sure it can be used in other languages too.

What are our goals?

  • I want to promote this package
  • I want to extend it and make less complicated
  • Maybe someone will help us in our development routine

What projects can use this data?

  • Recipe based websites
  • Food loggers
  • Dietary management & Weight loss projects
  • Restaurants, cafe ( anything that has menus & ingredients management)
  • Food order delivery
  • Fitness projects
  • Online shops
  • Family budget planners

What this module contain?
This module has 3 things inside: a set of JSON data, methods that get and manipulate that data, tests.

In order to make it simple, we also set up a documentation website.
You can check it here

Btw, npm link to this module

Github repository link

Task Tracker

Thanks for reading! Clap if you like it!

--

--