Skip to content
A simple node semi-persistent chat without database (messages are in server’s memory and purged after few hours)
JavaScript CSS HTML Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Semi Persistent Chat

That project is a simple semi-persistent PWA chat using web socket. Messages are kept in memory and purged after X hours (configurable).

The src/config.json (that you need to copy from src/config.json.dist) is where you want to configure the app.

This project was bootstrapped with Create React App.

To dev

run npm run start and node server

To deploy on production

Run sudo ./ and use nginx to deliver the generated build directory.

I suggest you to use pm2 to launch server by using ./

Also, adapt nginx to let pass web socket :

location /persistent-chat-ws/ {
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
You can’t perform that action at this time.