Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

A browser based messaging application using Google Authentication

License

Notifications You must be signed in to change notification settings

addepallimadhu/WebMessengerApp

Repository files navigation

WebMessengerApp

A browser based messaging application using Google Authentication

Sample Deployed Application

Simple Web Messenger

image

Instructions to run and develop on Local desktop

  1. Install
  • Adopt Open JDK
  • Posgres Db Server
  • Node js
  • Yarn
  1. For Google Auth - Register application from Google API and replace in Messenger.js const clientId = "xxxxx-xxxxxxxxxxxx.apps.googleusercontent.com"
  2. Create the schema messenger in PostGres DB
  3. Update DB password in application.properties to match Password in DB
  4. Build jar file from messenger-services folder using mvn install -DSkipTests command.
  5. Then run the jar file using java -jar <messenger jar file name>. This should launch the service on port 8080
  6. Now go to messenger-ui folder
  7. Run yarn install (Run yarn config strict-ssl false if getting any security errors and if any network timeouts yarn install --network-timeout 100000)
  8. Run yarn start, this will launch the application on port 3000 and any other port if it is not available
  9. Run yarn build and copy over contents of build folder to ./mesenger-services/src/main/resources/static for the changes to reflect in the Tomcat server when running the Java application

Instructions for Docker Compose locally

  1. Update the Postgres password in Docker Compose file
  2. Run docker-compose up. It will bring up the application on port 3003

Instruction to deploy to Kubernetes environment on local using docker-desktop

  1. Run the command helm install messenger https://raw.githubusercontent.com/addepallimadhu/WebMessengerApp/main/helmrepo/messenger-0.1.0.tgz
  2. This will bring up the application on port 30003

Deploy to AWS Elastic Bean Stalk

  1. Zip all contents exluding the parent folder and upload it to you Bean stalk application
  2. For EC2 Use a t2 medium or better configuration
  3. Application will be accessible from the EBS link available in the AWS console

About

A browser based messaging application using Google Authentication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published