Desafio da empresa https://olist.com/
- Django
- Docker
- Restframework (django)
- Receber um arquivo CSV com autores e importá-lo para o banco de dados
- Expor os dados dos autores em um endpoint
- Operações de CRUD (Criar, Ler, Atualizar e Deletar) para livros
classDiagram
class Book {
+ id: integer
+ name: string
+ edition: integer
+ publication_year: date
+ authors: list
+ cadastrar(name: string, edition: integer, publication_year: date, authors: list): type
}
class Author {
+ id: integer
+ name: string
}
Book "1" *-- "*" Author
Link do desafio: https://github.com/olist/work-at-olist#1-receive-a-csv-with-authors-and-import-to-database
/authors | /books | Um livro pode ter muitos authores |
---|---|---|