Skip to content

joaopatrocinio/react-chat-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Chat API

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.


To-do

  • 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

Instalation

Rename .env.example file to .env, change values if needed. Type into terminal:

npm install
node chat.js

Confirm that the API is running by checking at http://localhost:4050 (port in .env file)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published