Food-Static-Data / sd

Food static data wrapper
GNU General Public License v3.0
9 stars 14 forks source link

delete `loopbacky` structures when we'll learn how to generate them and save #76

Open atherdon opened 5 years ago

atherdon commented 5 years ago

our goal is to start to generate this kind of files from JavaScript https://github.com/GroceriStar/sd/tree/master/src/data/Grocery/example we also need to enable this tests + rename file: https://github.com/GroceriStar/sd/blob/master/generator/projects/GS-Loopback/test/loopback.teszt.js

atherdon commented 5 years ago

377

atherdon commented 5 years ago

@brunocordeiro180 i'll create a more clear explanation tomorrow. you also should receive a notification from github - i add you to organization, but cannot assign a task to you.

so please check files from data/Grocery/example - our goal will be to generate these files using our generator methods. tell me your questions

atherdon commented 5 years ago

please go to this link - https://github.com/GroceriStar - because for some reasons your invitation to groceristar team not active

brunocordeiro180 commented 5 years ago

@atherdon ok I'll check the files. And I accepted the invitation.

atherdon commented 5 years ago

ok, now i can assign tasks to you. ask me questions - because task description was writen purely and you'll help me to update it

brunocordeiro180 commented 5 years ago

The javascript files that we're going to generate isn't very clear yet. Can you give a more detailed explanation?

atherdon commented 5 years ago

Can you put here file that you're talking about?

brunocordeiro180 commented 5 years ago

The doubt it's more related with the direction that I need ti take to generate the files. The 'users-with-lists' for example. I don't know what direction to take to generate this file.

atherdon commented 5 years ago

hmm, users with lists actually empty. not sure why, but we can handle it later. main goal of having users-with-lists file is easy - we have a set of grocery lists in our database and we need to have an object, that will give us not all of grocery lists, but only lists, that connected to some users.

Example: admin user as creator of all grocery lists - are an actuall owner of all of them user A - that clone only ultimate-grocery-list to his account - are the owner of that one list and he can edit/update it

atherdon commented 5 years ago

if you'll need help with exact generation process - buzz @wahaj-47 he was one of the developers behind it

brunocordeiro180 commented 5 years ago

I'll send a email to him.

atherdon commented 5 years ago

you can just buzz him here - all of our communication is open and it's easy to track everything at one place. again - if you have more questionsabout this task - raise them. this is why this task is interesting :) it's not an easy thing to do - but very cool when we'll finish it

atherdon commented 5 years ago

Adebowale, you can help us with this task. it's a bit tricky, but it can help us to extend of functionality, that we pass into graphql server, and one of our new team members will work closely on graphql soon, so let's crack it!

brunocordeiro180 commented 5 years ago

So I was talking with @wahaj-47 and he said that the goal is to build a method do get the json files in 'example' folder and structure them. Now it's more clear to me :)

Edebo commented 5 years ago

@atherdon i think have the code to generate https://github.com/GroceriStar/sd/blob/master/src/data/Grocery/example/ultimate-gl-from-loopback-server-example.json should i pull a request on https://github.com/GroceriStar/sd/blob/master/generator/projects/GroceriStar/groceristar.js to see.though code not yet test

atherdon commented 5 years ago

Ok, let's do this, but i'm not 100% sure what do you mean - show me at PR and i'll take a look