Rebuilding 'mario-chat' by The Net Ninja (websockets playlist) using React, TS, and Express.
Create a .env
file inside api folder then define two variables (ORIGIN
and PORT
).
ORIGIN=http://localhost:3000
PORT=4000
Install the dependencies and devDependencies and start the server for each server (client and api).
npm i
npm start
MIT