How it works:
You get $500k (virtual cash) and you can start buying and selling stocks and crypto. You can check your performance (day, month, year...) and see how you stack up against others on the leader-board.
[buying and selling some stocks](https://reddit.com/link/leg89q/video/5ie8ygjqnzf61/player)
[performance of portfolio and stocks, news about your stocks](https://reddit.com/link/leg89q/video/cnw0lchsnzf61/player)
It's a PWA, which means it's fully responsive and you can "install" it.
It's free without any ads.
Frontend - vue 2, vuetify, chartist for the graphs, gsap for the number transitions. Also vue-cli which is a great tool.
Backend - django, django rest framework.
My thoughts about django - overall it's a great framework. I like that it's built in with a great ORM, a user management system and an admin panel. the model system is super easy to work with. My only tiny problem is that I couldn't find a good tutorial/library about how to use session authentication when you have a spa and use django just as a rest api.
Ask me anything if something is not clear.
I would love to hear your feedback and ideas on how to improve this 😀
15 thoughts on “I created a web app that lets you practice trading in the stock market”
Can you show your code?
Great work man!
I’m wondering if you’re fetching the prices from the backend using AJAX polling? If so I’d highly recommend WebSockets with [Django Channels](https://channels.readthedocs.io/en/stable/) as price change is a real time thing.
>My only tiny problem is that I couldn’t find a good tutorial/library about how to use session authentication when you have a spa and use django just as a rest api.
>Ask me anything if something is not clear.
What was the solution to this?
What is your experience in Django? How many time did you spend to create this?
Really amazing, I think you don’t have a problems with work finding 🙂
Not to shit on your work, but I just can’t help to mention that just DCAing Bitcoin is by far a better strategy for most.
Looks epic. What are you using on the front end?
Excellent app. Enjoyed the “we’ll always allow GME trading” touch lol
Hey, great work!
It looks awesome.
I have a question and is about deployment setup: did you deploy it with nginx? If so, I want to know how to improve the app loading. I mean, for example, my app that also was made with vue, vuetify and Django takes between 30 and 60 secs to load and I don’t find a way to solve this.
Nice app, but it’s very different when you trade for real money. People tends to panic.
Did you use a front end framework?
Is the code to it open source?
Sorry for the late response! I’m in the process of building a trading-related app and I want to use Vue, but I’m stuck on the approach. I don’t know if I should serve the Vue SPA from a Django index.html template or if I should separate the Vue app from the Django backend.
If I may ask, what approach did you use? And are you using Nuxt too? Your app looks amazing 🙂