https://github.com/arch-inc/nextjs-socketio-chat-example
A simple chat using Socket.io and Next.js, written in pure TypeScript
https://github.com/arch-inc/nextjs-socketio-chat-example
chat next nextjs socketio
Last synced: 10 months ago
JSON representation
A simple chat using Socket.io and Next.js, written in pure TypeScript
- Host: GitHub
- URL: https://github.com/arch-inc/nextjs-socketio-chat-example
- Owner: arch-inc
- Created: 2020-08-03T03:20:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-03T09:53:17.000Z (over 5 years ago)
- Last Synced: 2025-04-06T10:52:10.307Z (10 months ago)
- Topics: chat, next, nextjs, socketio
- Language: TypeScript
- Homepage:
- Size: 107 KB
- Stars: 43
- Watchers: 2
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```sh
npm install
```
### Start server
```sh
npm run dev
```
### Build deployment-ready code
```sh
npm run build:all
```
---
(c) Arch Inc., 2019-2020.