Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fractal-solutions/vite-react-socketio-boilerplate

vite-react-socket.io biolerplate
https://github.com/fractal-solutions/vite-react-socketio-boilerplate

Last synced: 15 days ago
JSON representation

vite-react-socket.io biolerplate

Awesome Lists containing this project

README

        

VITE-REACT + SOCKET.IO BOILERPLATE
========================================
# *by Quassa*

Implemented basic socket.io functionality with a Vite-React front-end, a nodejs back-end that leaves room for whatever implementation.
Allows sending of messages back and forth between the server and client to allow you to implement server side techniques,
offering protection of data, all while allowing for lightweight Vite-React modern front-end framework.

HOW TO START
=======================================
Download and Extract RAR file.

with terminal in the server directory:
**npm start**

with terminal in the client directory:
**npm run dev**

NOTE: **you might want to change the IP address/ Port used depending on your setup.

BUILD FROM SCRATCH
==================
From empty Client + Server document structure:
==============================================
Server Commands:

**npm init -y**

**npm install express cors nodemon socket.io**

Client Commands:

**npm create vite@latest**

**npm install socket.io-client react-router-dom**