Hi everyone
In an effort to learn more about LiveView, try a NoSQL DB with elixir and build something interesting I build this project…
Stranger
Stranger allows you to connect with random people around the world.
Connect with either video or text chat and make new friends.
It’s somewhat like Omegle
Check out the project on github
Some Interesting stuff that I have tried in this project
- Create a Phoenix LiveView only app for rich realtime user experience without the need for any page refreshes.
- Some interesting live view features include…
- Multi Step forms
- Server side form validations and LiveView uploads
- Infinite scrolling pages
- Live Components and LiveView hooks
- Other interesting stuff include…
- Use phoenix PubSub for matching users, active user tracking and text chat
- Use ecto embedded schemas along with MongoDB to utilize chagesets for powerfull form validations
- Genservers for user tracking and chat room tracking
- Some meta programming to achieve DRY code
- Use Vonage Video apis to setup realtime video chat capabilities
I have deployed it on heroku, do check it out.
Ask a friend to connect or create two accounts to test out the application.
Lastly, I would like to thank this blog, which helped me a lot to build the video chat part.
Have a good day!