Skip to content

ravgeetdhillon/chat-app-nextjs-laravel-ably

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Laravel for event broadcasting
  • Next.js for frontend UI
  • 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