thiagoferreiraw / mentoring-program

30 stars 2 forks source link

Chat with Carlos Vinicius about python, django and APIs #1

Open thiagoferreiraw opened 3 years ago

thiagoferreiraw commented 3 years ago

Base project for discussion: https://github.com/carv-silva/employeeLabs

carv-silva commented 3 years ago

construction api rest / django rest framework vs flask / docker or docker compose / model of document swagger /types of authenticated / unit test or tdd

thiagoferreiraw commented 3 years ago

Here's an initial proposed development plan @carv-silva. Let's discuss it on our call, and feel free to add new items as needed ;)

Python and fundamentals

Databases

Django

Rest APIs

Authentication

Unit tests

Devops

Personal development

thiagoferreiraw commented 3 years ago

@carv-silva , additionally, I suggest you implement these improvements in the ttps://github.com/carv-silva/employeeLabs project so we have a better grip of a real scenario:

New Models

Department - Instead of having the department set as an string/charfield in the database, let's make it into a foreign key. We should have a new model called Department, with at least the fields: id, name, budget. Feel free to add more fields 🤘

Payroll - Let's create a model to record the employee salaries every month, so we can extract some reports. I suggest these fields to begin with, but feel free to add more: id, month, employee (fk), gross_salary, taxes, benefits, net_salary. We can also calculate the taxes on a fixed number like 11% on top of the gross salary, for fun ;)

Employee model: We already have this, but let's add more fields, I suggest: `start_date, termination_date.

New endpoints

Endpoint improvements

Authentication

Devops

thiagoferreiraw commented 3 years ago

Another roadmap you can take a look: https://roadmap.sh/backend

image

carv-silva commented 3 years ago

Department modified and payroll create, doubt emerged to creating of endpoint list payroll, the main question is the list will be created with ListView

carv-silva commented 3 years ago

create new branch developer for pull request