Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server: Feed Parser proof of concept #3

Merged
merged 3 commits into from
Apr 7, 2024

Conversation

eteubert
Copy link
Member

@eteubert eteubert commented Apr 5, 2024

Beispiel Client:

feed_url = "https://feeds.podlovers.org/mp3"
api_url = "http://localhost:4000/api/v1/fetch_feed"

response = Req.get!(api_url, params: %{"url" => feed_url})

response.body

Comment on lines +21 to +22
"server:interactive": ["cd server", "iex -S mix phx.server"],
"server:format": ["cd server", "mix format"],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solche utils ggf. mit dedizierten prefix versehen? Muss mich mal mehr mit devbox auseinandersetzen, finde es eigentlich nicht so schön, wegen jedem kleinen dev-command hier ein eigenes script definieren zu müssen.

Suggested change
"server:interactive": ["cd server", "iex -S mix phx.server"],
"server:format": ["cd server", "mix format"],
"dev:server:interactive": ["cd server", "iex -S mix phx.server"],
"dev:server:format": ["cd server", "mix format"],

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Du kannst auch einfach devbox shell ausführen und dann da drin arbeiten. Wäre auch nicht notwendig wenn Elixir besseres dev tooling hätte ;)

@eteubert eteubert merged commit d914da6 into main Apr 7, 2024
2 checks passed
@eteubert eteubert deleted the server/feed-parser-proof-of-concept branch April 7, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants