Hacker News new | ask | show | jobs
by sircon 1962 days ago
And I made it open source if you want to take a look: https://github.com/sircon/onethousand

I used Yahoo Finance hidden API for all stock related stuff, Next.js + Vercel and a lot of Tailwind CSS love!

Hit me if you have any questions or feedback!

3 comments

I have two suggestions:

1. You have this grid with a few big company names on the right. When you click, it shows you a number and some other information. I feel like, when you click again, it should take you back to that grid, or you could have an "X" in the top-right corner to close that information and get back to the grid (home page). Right now you have to use the back browser button, which feels awkward.

2. To maximize the FOMO, you should show a graph of the stock price over time, which of course would look exponential. You can download that information in CSV format from yahoo finance. You probably don't need it to be updated everyday. You will need to adjust for stock splits.

Thanks! Number 2 takes a bit more time, but I'll implement it when I have time as it is a great idea. And I just implemented point 1 now, hope this helps!
Uh... The back button IS the natural way to do it. I commend the OP for making the back button actually work how it's suppsoed to!
I'm not saying the back button shouldn't work. I'm saying it would be nice to have a way to do it from the webapp's UI as well.
Agreed. At this point people have been conditioned to expect the back button to lose their place or take them off the domain. So it's important to have a way in the webapp's UI even if you have the back button behaving properly.
Cool stuff, thanks for sharing :)

More of a question about the technology rather than the product itself: Considering that you're a single developer and the codebase is very small (~1000 LoC of source code), why did you go with TypeScript here rather than just JavaScript?

It's just easier and faster for me, as I've been working full mode with TS for the last 3 or 4 years, so it's hard/weird to go back to just javascript. Those strong types are a life saver!
Is it possible to access prior issues from the newsletter?