jerimumhs / jerimumhs/transparencia-api
[CRUD] Ticket
- Dominant language
- Python
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Foi criado o model [Ticket](https://github.com/jerimumhs/transparencia-api/blob/dev/models/finances.py) com os seguintes campos:
- name | String(50)
- value | Float
- date | Date
- _type | INT (choices [1, 2])
É preciso criar o CRUD desse model com os verbos HTTP de API (POST, GET, PUT e DELETE).
- [ ] Create (POST)
- [ ] Update (PUT)
- [ ] Patch (PUT) ?
- [ ] List (GET)
- [ ] Retrieve (GET)
- [ ] Delete (DELETE)
- [ ] Testes de cada verbo
Materiais:
- [Ver passo 6 em diante desse tutorial](https://medium.com/@tinuadeadeleke/a-beginners-guide-to-building-rest-apis-flask-flask-sqlalchemy-and-flask-marshmallow-5159d4eb46d8)
- https://realpython.com/flask-connexion-rest-api-part-2/#people-data
- https://www.codementor.io/dongido/how-to-build-restful-apis-with-python-and-flask-fh5x7zjrx
- http://akashsenta.com/blog/flask-rest-api-with-sqlalchemy-and-marshmallow/
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.