Skip to content

Social media platform built with Phoenix, React and Inertia

License

Notifications You must be signed in to change notification settings

danielbergholz/threadit

Repository files navigation

Threadit

A Reddit/Threads-inspired social media platform built with Phoenix, React and Inertia

Running locally

  • Install Elixir and Erlang

    • I recommend using asdf to manage your Elixir and Erlang versions
    • Simply run asdf install in the project root to install the correct versions
  • Install Postgres

    • I recommend using Postgres.app on macOS
    • Alternatively, you can use Docker with the following command:
      • docker run --name threadit_db -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=threadit_dev -p 5432:5432 -d postgres
  • Install Node.js

  • Run mix setup to install the elixir and javascript dependencies and seed the database

  • Start the Phoenix server with mix phx.server or inside IEx with iex -S mix phx.server

  • Now you can visit localhost:4000 from your browser

About

Social media platform built with Phoenix, React and Inertia

Resources

License

Stars

Watchers

Forks