Skip to content

Conversation

@oka4dc
Copy link

@oka4dc oka4dc commented Jul 20, 2024

  1. created a separate folder for the project
  2. Set up virtual environment using VENV and named it Backendtest_venv
  3. Activated the virtual environment
  4. Install the necessary packages using pip eg django, DRF and django rest framework simple JWT
  5. Registered both user defined and third party apps under the installed Apps in the settings.py file
  6. Define the custom user model
  7. create migrations (SQLITE dev env)

@oka4dc
Copy link
Author

oka4dc commented Jul 20, 2024

Also created the super user account

oka4dc added 3 commits July 21, 2024 13:08
…rializer class and defined the CRUD functionalities logic for the product model. Finally defined the products urls
@oka4dc
Copy link
Author

oka4dc commented Jul 22, 2024

  1. Defined the product, catergory and order table as python classes in the products_App/model.py file
  2. Created the serializers file and defined the classes for the various tables
  3. Defined the view logic for CRUD operations on both product and catergory table
  4. Defined the view logic for placing order and history with respect to authenticated users only
  5. . created a custom user model in order to add extra fields (is_buyer, is_seller)
  6. Created the custom user serializer
  7. unstalled the django restframwork simple jwt
  8. Defined the views for user registration, login and logout

oka4dc added 4 commits July 22, 2024 08:20
… view logic from the product_app into the Order_App
…utting all models related to the order app that was initailly defined in the product app back into the order app]
…ocker compose. yml and NGINIX file and finally pip installed psycopg2-binary for postgresql and gunicorn
@oka4dc
Copy link
Author

oka4dc commented Jul 23, 2024

  1. Created a folder called test in each of the project app
  2. implemented the product search functionalities
  3. implemented the product pagination by created a separate file called pagination,py with a max product items of 5
  4. pip installed drf_yasg for API docs, Guvicorn and django_filters for product filtering
  5. updated the requirements.txt file
  6. write the view logic for product search and paginations
  7. Created the project dockerfile, Dockercompose.yml and NGNIX file

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

Successfully merging this pull request may close these issues.

1 participant