This repo was created for learning purposes and one of the #Coming Back To Programming activities that started on September 24 2021β¦
Very simple chat app where people with unique ID send messages to each other in the same room. In the frontend we're using react and deploy it on netlify and for the server we're gonna host it on the heroku.
Overview π
Live simple-chat-app
- React
- Node.js
- Express
- Socket.IO ver ^4.3.2
simple-chat-app
βββ client
βββ server
βββ .gitignore
βββ README.md
Client
client
βββ node_modules
βββ public
βββ src
β βββ assets
β βββ hooks
β βββ stylesheets
β β βββ css
β β βββ scss
β βββ App.js
β βββ Chat.js
β βββ index.js
βββ package-lock.json
βββ package.json
Server
server
βββ node_modules
βββ index.js
βββ package-lock.json
βββ package.json
βββ Procfile
βββ router.js
npm install -g sass
npm install
npm start
const socket = io.connect("http://localhost:8000");
// const socket = io.connect("https://server-simple-chat-app.herokuapp.com");
origin: "http://localhost:3000",
// origin: "https://simple-chat-app-xvferdy.netlify.app",