Skip to content

About

A chronological town square for builders. Newest first. No ranking. No ads.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

SocialRails

A chronological town square for builders. Newest first. No ranking. No ads.

Live: https://socialrails.onrender.com

Rails 8, Hotwire, PostgreSQL, Devise, Pundit. Hosted on Render with Postgres on Neon.

Demo accounts (password demo1234): maya@socialrails.dev, arjun@socialrails.dev, lena@socialrails.dev.

Run locally

Ruby 3.4 and PostgreSQL 16.

bin/setup
bin/rails server

Open http://localhost:3000.

Development mail (password reset) is at http://localhost:3000/letter_opener.

Features

  • Public chronological feed and a Following view
  • Profiles, follows, posts, comments, likes
  • Direct messages and a live public Yard (Action Cable)
  • Google / GitHub sign-in when OAuth env vars are set

Deploy

Docker on Render. Set these on the web service:

Variable Required
DATABASE_URL yes
SECRET_KEY_BASE yes
RAILS_MASTER_KEY yes (from config/master.key, not committed)
APP_HOST yes (socialrails.onrender.com)
FORCE_SEEDS first deploy only (1)
GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRET optional
GITHUB_CLIENT_ID / GITHUB_CLIENT_SECRET optional

OAuth callbacks:

  • https://socialrails.onrender.com/users/auth/google_oauth2/callback
  • https://socialrails.onrender.com/users/auth/github/callback

About

A chronological town square for builders. Newest first. No ranking. No ads.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages