Made with 💖 by Joel Jolly.
- This Java Spring Boot application facilitates user registration and login processes. It prioritizes user data security with password hashing and validation. The intuitive interface streamlines account creation and login, while informative error messages guide users through potential issues.
- Install Required Tools: ✅
- Java ✅
- IntelliJ ✅
- MySql ✅
- Create a New Spring Boot Project: ✅
- Set Up Version Control: ✅
- Github ✅ (Files are uploaded via GitKraken (For linux users) (Github Desktop for windows users)) (Note: If your individual files are less than 25 mb you can use github website on your browser for file uploading)
- Design the Database Schema: ✅ (Mentioned in the later part of this readme)
- Configure MySQL Connection: ✅
- Create JPA Entities: ✅
- Create Repository Interfaces: ✅
- Implement the Service Layer: ✅
- Create REST Controllers: ✅
- Handle Validation: ✅
- Test with Postman: ✅
- Implement Basic Security (Optional): ✅
- Prepare Documentation: ✅ (Almost)
- Code Review and Feedback: Pending
- Create a database
CREATE DATABASE teamsync;
- Enter inside the database
USE teamsync_db;
- Create a table called
user_details
CREATE TABLE user_details (
id BIGINT PRIMARY KEY AUTO_INCREMENT,
firstname VARCHAR(50) NOT NULL,
lastname VARCHAR(50) NOT NULL,
email VARCHAR(100) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL
);
- Update the
application.properties
spring.application.name=starship
spring.datasource.url=jdbc:mysql://localhost:3306/users
//Starship port
server.port=8083
server.servlet.context-path=/starship
spring.datasource.username=root
spring.datasource.password=test123!
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
spring.jpa.hibernate.ddl-auto=update
- Paste the repo code inside the intellij project folder. (Before doing this create a new project using intellij and then close the intellij app and then paste the code from this repo)
- Run the
build.gradle
(To install the packages) - Run the code.
If you love TeamSync and want to keep me caffeinated for more awesome updates, consider buying me a coffee!
Made with 💖 by Joel Jolly.