Git Product home page Git Product logo

drf_api_cutback's Introduction

    Hello there, I'm Milosz ๐Ÿ‘‹

I'm a Full-Stack Software Developer, Sailor and Student

  • ๐Ÿ“š I'm a Software Developer and CS student of West Pomeranian University of Technology in Szczecin, Poland
  • ๐Ÿ› ๏ธ Iโ€™m currently working as a Frontend Developer
  • ๐Ÿ’ป I have passion for building projects with use of React, TypeScript and JavaScript
  • ๐Ÿšฒ If I'm not coding, you will find me on a road riding my bicycle or playing ๐ŸŽพ

๐Ÿ”ง Languages and Tools

HTML5

CSS3

Sass

Bootstrap

JavaScript

TypeScript

React

Vue.js

Python

Django

MySQL

Git

GitHub

Apple

Linux




๐Ÿ”ฅ My Stats


CONTACT ME

drf_api_cutback's People

Watchers

 avatar

drf_api_cutback's Issues

Tasks for Backend

Tasks

  • create a user with drf
  • delete a user with drf
  • full CRUD with Profiles-User in DRF
  • !! create Product model
  • ERD create Rating model
  • Manual testing
  • create Milestone for Backend

BUG: custom "update" method in ProfileSerializer

Description

The update method in ProfileSerializer did not save changes to the database with User model inherited fields

Solution

Used validated_data pop method to assign owner data to a new variable, then loop through elements and assign them to User instance. ".save()" must be used for both User and Profile instances.

MODELS: Create Product model

Description

Create a fully functional Product model for use in the database. Follow ERD for fields to be included.

Tasks:

  • start the Product app
  • register app in settings.py
  • use django-money third-party library MoneyField for price field
  • create image fields to work as gallery

MODELS: Create User Model

Description

Create a User model which inherits from the AbstractUser model

Tasks

  • updated AUTH_USER_MODEL in settings.py
  • define email field - blank=False
  • register in Admin.py new User model (with UserAdmin)
  • use django-signals to connect User with Profile model for creating & delete functionalities

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.