Skip to content

Arp-G/stranger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1c7c804 · Jan 30, 2021

History

62 Commits
Jan 24, 2021
Jan 30, 2021
Jan 30, 2021
Jan 30, 2021
Jan 30, 2021
Dec 28, 2020
Dec 28, 2020
Dec 28, 2020
Jan 27, 2021
Jan 30, 2021
Jan 30, 2021
Jan 27, 2021
Jan 27, 2021
Jan 24, 2021
Jan 17, 2021
Jan 17, 2021
Jan 27, 2021

Repository files navigation

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!