Skip to content

A fullstack social media platform with real-time chatroom functionality.

Notifications You must be signed in to change notification settings

usr-wwelsh/socialChat

Repository files navigation

1socialChat

A fullstack social media platform with real-time chatroom functionality.

Screenshot 2025-10-21 223928

Features

  • User authentication (username/password)
  • Customizable user profiles (bio, profile picture, links)
  • Post text, images, and videos (up to 10MB)
  • Edit and delete posts
  • Real-time global chatroom
  • User-created chatrooms
  • Post reactions
  • Clickable usernames linking to profiles

Tech Stack

  • Backend: Node.js, Express, Socket.io
  • Database: PostgreSQL
  • Frontend: Vanilla JavaScript, HTML5, CSS3
  • Auth: bcrypt password hashing, express-session

Setup

  1. Install dependencies:
npm install
  1. Create a .env file based on .env.example and configure your database connection.

  2. Set up PostgreSQL database:

psql -U postgres
CREATE DATABASE socialchat;
  1. Run the database schema (see server/schema.sql)

  2. Start the server:

npm start
# or for development with auto-reload
npm run dev
  1. Open http://localhost:3000

Deployment

Ready for Railway deployment with PostgreSQL plugin.

About

A fullstack social media platform with real-time chatroom functionality.

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •