Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 575 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 575 Bytes

nextjs-socketio-chat-example

A simple chat using Socket.io and Next.js, written in pure TypeScript.

Overview

Demo site: https://nextjs-socketio-chat-example.herokuapp.com/

  • components/: React components
  • pages/: Next.js pages
  • server/: Socket.io-related server-side code
  • shared/: type definitions shared between server and client

Development

Install

npm install

Start server

npm run dev

Build deployment-ready code

npm run build:all

(c) Arch Inc., 2019-2020.