chat-app-nextjs-laravel-ably icon indicating copy to clipboard operation
chat-app-nextjs-laravel-ably copied to clipboard

A Real time chat app made in Next.js, Laravel and Ably.

License: MIT

Chat App with Next.js, Laravel and Ably

This repository serves as a code container for the tutorial I wrote on Ably's Blog.

Blog link will be updated once the article is published.

Features

  • [x] Laravel for event broadcasting
  • [x] Next.js for frontend UI
  • [x] Ably for realtime messaging

Prerequisites

These things are required before setting up the project.

Getting Started

Follow these instructions to get the project up and running.

# Clone the repo
$ git clone https://github.com/ravgeetdhillon/chat-app-nextjs-laravel-ably.git

# Change directory
$ cd chat-app-nextjs-laravel-ably

For Laravel

# Navigate to backend directory that holds laravel code
$ cd backend

# Install dependencies
$ composer install

# Served at http://localhost:8000
$ php artisan serve

For Next.js

# Navigate to frontend directory that holds next.js code
$ cd frontend

# Install dependencies
$ npm install

# Served at http://localhost:3000
$ npm run dev

For detailed instructions, read the blog.

Tech Stack

Authors

Extra