Welcome to the Authentication Service repository! This service provides authentication and user management functionalities for the BookMySport application.
Before you begin, make sure you have the following installed on your machine:
- Java Development Kit (JDK)
- Apache Maven
- MySQL Database or another database of your choice
- Git
Follow the steps below to set up the Authentication Service locally.
git clone https://github.com/your-username/authentication-service.git
cd authentication-service
code . (Opens the folder in vscode
For database setup
spring.datasource.url=jdbc:mysql://localhost:3306/your_database_name
spring.datasource.username=USERNAME
spring.datasource.password=PASSWORD
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
For email service
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=${USERNAME1}
spring.mail.password=${PASSWORD1}
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
src\main\java\com\bookmysport\authentication_service\AuthenticationServiceApplication.java