savannah-Silica / e-commerce-api

E-commerce platform API: Customers can browse products, add items to their cart, checkout, and make payments.
MIT License
2 stars 8 forks source link

Add Models #3

Open Collins-Omariba opened 1 year ago

Collins-Omariba commented 1 year ago
John-Njau commented 12 months ago

Add

Collins-Omariba commented 12 months ago

There are 7 models in the ER-Diagram , you can each do any of them . But indicate here the ones you want to do before you start coding to avoid working on similar models

John-Njau commented 12 months ago

There are 7 models in the ER-Diagram , you can each do any of them . But indicate here the ones you want to do before you start coding to avoid working on similar models

By Models , do you mean even the views, tests and endpoints?

John-Njau commented 12 months ago

There are 7 models in the ER-Diagram , you can each do any of them . But indicate here the ones you want to do before you start coding to avoid working on similar models

Another question, are we writing all the models in the same model.py or will we have django mini apps to handle different models?

Collins-Omariba commented 12 months ago

There are 7 models in the ER-Diagram , you can each do any of them . But indicate here the ones you want to do before you start coding to avoid working on similar models

By Models , do you mean even the views, tests and endpoints?

Just the models that are the Python class representatives of the SQL tables

Collins-Omariba commented 12 months ago

There are 7 models in the ER-Diagram , you can each do any of them . But indicate here the ones you want to do before you start coding to avoid working on similar models

Another question, are we writing all the models in the same model.py or will we have django mini apps to handle different models?

Same file