Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

A Simple websocket chat room made with ReactJs,websockets and Sqlite for saving the messages,allowing users to login and signin using google Oauth

License

Notifications You must be signed in to change notification settings

sireeshdevaraj/react-websockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm start and node server.js

  • Start the express server that runs the websocket on 3001 and uses 3002 for our backend database.
  • 3000 port will be used for our front end.
  • We are using SQlite3 persistent database to store all the messages with ID and message.
  • add .env file with our gogogle clientId
  • Specify the Google client ID which looks like 25453453556-sdfkjsbvjnshnvsnckn.apps.googleusercontent.com and use passportJs(prefer this) (OR)
<script src="https://apis.google.com/gsi/client" async defer></script>
<meta name="google-signin-client_id" content="25453453556-sdfkjsbvjnshnvsnckn.apps.googleusercontent.com">
  • You can add features like displaying profile pic,google displayname and store them in database.
  • PS: It's boring to add CSS so..
  • Pull requests are always welcome.

About

A Simple websocket chat room made with ReactJs,websockets and Sqlite for saving the messages,allowing users to login and signin using google Oauth

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published