25 lines
461 B
Markdown
25 lines
461 B
Markdown
## RSS-Reader [WIP]
|
|
|
|
# Diesel Setup
|
|
|
|
setup, first step, or when docker been and DB not found.
|
|
|
|
`diesel setup`
|
|
|
|
generate table
|
|
|
|
`diesel migration generate create_to_do_items`
|
|
|
|
fill up and down
|
|
|
|
`diesel migration run`
|
|
|
|
# docker
|
|
|
|
`docker exec -it 59ff8bad10c0 psql -d rss -U admin`
|
|
|
|
|
|
# Create user
|
|
curl -X POST -H "Content-Type: application/json" -d '{"name": "mace", "email": "safemind@posteo.de", "password": "secret"}' http://localhost:8001/api/v1/user/create
|
|
|