upvote
Show HN: I build a Fantasy NHL app in 3 days with Claude AI
Nice work! It's better than Yahoo's hellscape I have been forced to suffer for years.

However, my favorite player is not in your app, and I am slightly offended (I'm kidding of course).

Do you plan to add real-time updating of stats? I thought of rolling my own app at one time, and last I checked, the NHL is very particular about their data.

reply
I do sort of "real time". At least currently, each refresh of the frontend does a call to the backend, which doesn't have caching implemented yet. So as soon as the NHL returns new data, you will see it.

I haven't encountered any rate limiting. I find it quite fascinating how fast the API is. Sometimes my live stream is lacking a few seconds behind, and my website already has the new score before the stream.

reply
I did something in a similar space and I'm a complete noncoder: www.sgpedge.com

Probably about ten hours, all in.

reply
Wow, that's impressive.
reply
deleted
reply
That looks pretty nice and polished! Did you use Claude Code? Also, what are some of the crates you used for your Rust stack? Did you ever consider doing a server side rendered app and no React?
reply
Nope, all through their web UI. I used Claude Code once, but it wasted a lot of money for not much better results. So I stick to the web UI for now.

I am using Axum, Tokio, Tracing, SQLX. I am an experienced Rust programmer, so I could always judge what code I am getting, and how to refactor it after. But it saved me writing lots of boiler plate SQL queries etc.

I thought about server side rendering, but have no experience doing it with Rust. So I sticked to the stack I am used to, to ship a bit faster.

Any recommendations on server side rendering crates?

reply
[flagged]
reply
How many tokens/dollars? Curious :)
reply
Just the Web UI. So usual subscription price. I used Claude Code previously, but wasn't super satisfied. Also changing files directly gave me more headaches in the past. I want to see the code first, judge it how it looks, and then do the change myself.
reply
well done on all the functionality.

a. which llm/IDE do you use?

> The biggest help was certainly the UI and styling

b. the styling seems to be v"stripped down"?!

Did you explicitly prompt for this? Whenever i prompt from some web app i get an initially visually richer style - which becomes difficult to maintain later

reply
Claude through the Web, and just normal IDEs (Rust Rover and Zed) without any built in help. Just copy/pasting + adjusting through the Web UI of Claude.

I specifically prompted the UI to be simplistic, component based etc. I also prompted tailwind, so that the LLM doesn't go crazy on hundreds of lines of CSS. Everything generated I can understand and change.

reply
That fly.io bill bout to skyrocket
reply
I am actually on a legacy plan, and they shut down the machine by default if not used. Last month I got a bill of 1.15 USD, which they said I don't have to pay since it's below 5 USD :)
reply
nice man. setup a domain, post on X, chat with the NHL community.
reply
A look at source would be great.
reply
How much it cost?
reply
[dead]
reply
[flagged]
reply
[flagged]
reply
[flagged]
reply