- Java (8 and above)
- Maven
- MySQL
- Google Translate Credentials
- Clone the repo.
- Create the Databse and Tables in MySQL with this script.
- Create all the Stored Procedures with the scripts from the folder
- Create
application.properties
file in the folder "pidgin-server/src/main/resources/" and fill it with below values.
spring.datasource.url=jdbc:mysql://<MySQL server address (default=localhost)>:<MySQL server port (default=3306)>/pidgin
spring.datasource.username=<MySQL Username>
spring.datasource.password=<MySQL Password>
google.api.translation.jsonpath=<Google API Key JSON file path>
- Install Spring Tool Suite.
- Import "pidgin-server" as maven project.
- For the first build, choose Run as -> Maven Install.
- To start the server, choose Run as -> Spring Application.
- Go to the
pidgin-server
folder - run
mvn spring-boot:run
to start the server
- Open the browser and go to
localhost:8080
. Other users can access the application using the machine's IP with the port8080
. - Use the Sign Up page to register.
- Login to the application using your credentials.
- Add connections with the existing users to start the chat.
- Send message to the user to see the real time translation of the messages from your language to his and vice versa.