yudapc / nextjs-chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js Chat Application

Introduction

This project is created for learning purposes to demonstrate the use of WebSocket for real-time communication. It is designed with the hope that it can be further developed and improved in the future.

The project utilizes Next.js for the frontend and WebSocket for real-time WebSocket communication.

Table of Contents

Features

  • Real-time communication using WebSockets
  • Simple and intuitive chat interface
  • Easy to set up and extend

Requirements

Ensure you have the following installed:

  • Node.js (version 12 or higher)
  • npm
  • yarn version v1.22.21

Steps

Install dependencies

  • yarn install

Run in development

  • yarn dev

Formatting Code

  • yarn format

Build

  • yarn build

Run in Production

  • NODE_ENV=production yarn start

Backend

NodeJS Chat

License

This project is licensed under the MIT License.

About


Languages

Language:TypeScript 94.7%Language:CSS 3.9%Language:JavaScript 1.4%