Skip to content

shailevi23/Chat-App-BackEnd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Chat-App-BackEnd

Instructions to run the program:
##Get new password for gmail verification:
https://www.gmass.co/blog/gmail-smtp/
Long story short:
open your gmail -> go to account settings -> security -> two-factor auth with phone -> go to app passwords -> add new app -> you will get a password -> copy it.

##Add in resource folder under /src/main 2 files:
I. mail.properties:
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username= "Insert here your gmail"
spring.mail.password= "Insert here the password you copied from 1"
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true

II. application.properties: (Using MySQL)
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://localhost:"Enter your MySQL port here"/chatapp
spring.datasource.username="Your username in MySQL"
spring.datasource.password="Your password in MySQL"
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
server.error.include-message=always

##Activate pom.xml
##Run the code and the front-end code:
https://github.com/AmerSamer/Chat-App-FrontEnd/blob/main/README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%