Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 2.39 KB

README.md

File metadata and controls

48 lines (35 loc) · 2.39 KB

Stranger image

Stranger

Stranger allows you connect with random people around the world.

Connect with either video or text chat and make new friends.

Try Strangers now

A Demo of the app

Stranger image

Technology Stack used

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..
  • 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

Setup and run locally

  • Make sure you have elixir and npm installed
  • Clone this project
  • Install and run mongoDb either locally or elsewhere
  • Create a new secret config file config/dev.decret.exs using the sample file provided config/env.secrets.exs.sample
  • Prepare assets: Install node packages cd assets && npm install
  • Run the server from project root mix phx.server and visit http://localhost:4000/
  • Enjoy!