Skip to content

A simple online chatting platform for texting your friends made with Next.js & Supabase

License

Notifications You must be signed in to change notification settings

Carbowix/ChatMates

Repository files navigation

ChatMates

ChatMates

A simple online chatting platform for texting your mates

license mit ChatMates version
Discord server

View Demo · Report Bug · Request Feature

Table of Contents
  1. Features
  2. Getting Started
  3. Technologies
  4. Showcase
  5. Acknowledgements

Features

  • Instant Messaging: Engage in real-time text conversations with friends
  • Friend Requests: Send and accept friend requests to connect with other users.
  • Push Notifications: Receive instant notifications for new messages, friend requests, and more.
  • Unread Message Count: Stay informed about unread messages with message count badges.
  • Adaptive Layout: Tailored layout that adjusts to various screen sizes for optimal usability.

Getting Started

Prerequisites

Installation

# Clone repo
git clone https://github.com/Carbowix/ChatMates.git

# Install the required packages
## Using NPM
npm install

## Using yarn (preferred)
yarn install
  • Add your Pusher, Supabase, Google OAuth, and Next-Auth details to .env.example (don't forget to rename .env obviously)

  • Push and generate the prisma schema

## Using NPM
# Generate schema
npm run postinstall
# Push schema to database
npm run prisma:push

## Using yarn (preferred)
# Generate schema
yarn postinstall
# Push schema to database
yarn prisma:push
  • Run the application on development mode
## Using NPM
npm run dev

## Using yarn
yarn run dev

Technologies

This project is heavily based on the nextjs-postgres-auth-starter

Showcase

Acknowledgements