MNIO is a real-time multiplayer drawing canvas on the web.
- The server is built with Node.js, Express, Socket.io;
- The client uses Socket.io-client and is bundled through Vite.
npm run install
- A MySql / mariadb database connection is required
- You can provide db credentials as environment variables
npm run dev
- Requires Node.js 14+ running on your server
- A MySql / mariadb database connection is required
- You can provide db credentials as environment variables
npm run build
package.json
package-lock.json
dist/
lib/
shared/
views/
npm run install
Eventually install pm2 globally if planning to run app with it (recommended)
npm install pm2 -g
npm run start
or with pm2 (recommended)
pm2 start ecosystem.config.js