40 lines
1.6 KiB
Markdown
40 lines
1.6 KiB
Markdown
curl -i http://localhost:8080/transactions
|
|
|
|
curl -i http://localhost:8080/transactions/1
|
|
|
|
curl -i -X POST -H "Content-Type:application/json" -d '{"account":"http://localhost:8080/accounts/1","amount":12.3,"date":"2016-05-31T22:00:00.000+0000","description":"test","category":"http://localhost:8080/categories/1"}' http://localhost:8080/transactions
|
|
|
|
curl --user adam@mail.com:test -i -X DELETE http://localhost:8080/transactions/4
|
|
|
|
|
|
|
|
|
|
https://letsencrypt.org/getting-started/
|
|
|
|
- http://localhost:8080/transactions?size=10&sort=date,desc
|
|
- alles über findAll filtern http://stackoverflow.com/questions/33018127/spring-data-rest-sort-by-multiple-properties
|
|
- account direkt in Transaction anzeigen http://docs.spring.io/spring-data/rest/docs/current/reference/html/#projections-excerpts.excerpting-commonly-accessed-data
|
|
--> mit neuer Projektion: keine zusätzlichen GET-Requests für Creditor und Category, account per Parameter filtern (wie getDescriptionsByAccount), findFirst10 kann entfernt werden
|
|
|
|
|
|
|
|
# TODO
|
|
- Server: SSL und logs konfigurieren
|
|
- Transaktionen mit Passwort-Management ausstatten
|
|
- http://kielczewski.eu/2014/12/spring-boot-security-application/
|
|
- http://spr.com/part-5-integrating-spring-security-with-spring-boot-web/
|
|
- Metadaten für Icon einbauen
|
|
|
|
|
|
|
|
- Export als CSV
|
|
- Import von comdirect mit Mustererkennung und Muster-Editor
|
|
|
|
- Admin-Bereich
|
|
- Auslagen zurücksetzen
|
|
- (beliebig lange) Liste von Transaktionen anzeigen
|
|
- CSV-Export
|
|
- TODO-Marker abarbeiten
|
|
- Verschlüsselung aktivieren
|
|
- Absicherung: DELETE darf von Usern nur auf die letzte Transaktion angewendet werden
|