Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Database Design #27

Open
Santosh344 opened this issue Jul 14, 2019 · 5 comments
Open

About Database Design #27

Santosh344 opened this issue Jul 14, 2019 · 5 comments

Comments

@Santosh344
Copy link

I am just going to start but I have confusion does back-end developer need to design front-end application

@innoflash
Copy link

i don`t know what you been given but if its what we all got i think its supposed to be an API according to the challenge document

@sbansa1
Copy link

sbansa1 commented Aug 21, 2019

Hello,

Greetings !

I was looking at the documentation some of the endpoints as per the document seem flawed like Path: /products/inDepartment/{department_id}
we are not provided the data base script with the department_id as the foreign key ? not sure what do I need to do here.

Moreover I am creating all these as individual services or Microservices.Hope that's fine

@innoflash
Copy link

Hello,

Greetings !

I was looking at the documentation some of the endpoints as per the document seem flawed like Path: /products/inDepartment/{department_id}
we are not provided the data base script with the department_id as the foreign key ? not sure what do I need to do here.

Moreover I am creating all these as individual services or Microservices.Hope that's fine

That part seems perfect @sbansa1 there seems to be a table linking the products to categories, u can do the math its a relationships type of logic u shld be paying attention to here

@sbansa1
Copy link

sbansa1 commented Aug 27, 2019

Thanks I solved it @zandoan

@sbansa1
Copy link

sbansa1 commented Aug 27, 2019

Although, I had to replicate some data to make sure I am maintaining the persistence. @zandoan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants