THIS REPOSITORY NOW CONTAINS ONLY THE API FOR THE APPLICATION, check the react-chat repository for the React front-end. Consider this README.md (and repository) as the primary, as the one in react-chat will not be updated.
Real-time chat made with React and WebSockets (socket.io).
Using JSX and ES6 with Babel to compile it into vanilla JS., currently being made in the browser.
Setup Babel on Node.js to compile on the server, not on the client- Store messages (cache and DB)
- Authentication
- Load previous messages to user when logs in
- Chat rooms
- Private messaging
Rename .env.example file to .env, change values if needed. Type into terminal:
npm install
node chat.jsConfirm that the API is running by checking at http://localhost:4050 (port in .env file)