Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

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

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.