The final goal of this project is to provide an online volunteerWork activity platform that can perform word typing service for the visually impaired and hearing impaired.
- JDK 1.8 or later
- Gradle 4+
- You can also import the code straight into your IDE:
- Install as you woud normally install a Java JDK 8
- If you use IntelliJ, you must install lombok plugin
- Click File > Settings > Plugin or Ctrl+Alt+S > Plugin
- Search lombok and Install
- Configurate Docker environment file.
- Copy
.env.example
file and set the file name.env
- Enter the mariaDB information
MARIADB_ROOT_PASSWORD={root_password} MARIADB_DATABASE={database_name} MARIADB_USER={user_name} MARIADB_PASSWORD={user_password}
- Example
MARIADB_ROOT_PASSWORD=rootPassword MARIADB_DATABASE=testDatabase MARIADB_USER=testUsername MARIADB_PASSWORD=testPassword
- Copy
- Edit application-prod.yml file
- Correct the part below
spring: datasource: driver-class-name: org.mariadb.jdbc.Driver url: jdbc:mariadb://localhost:3306/{database_name} username: {user_name} password: {user_password} ...
- Example
spring: datasource: driver-class-name: org.mariadb.jdbc.Driver url: jdbc:mariadb://localhost:3306/testDatabase username: testUsername password: testPassword ...
- If you want to use another profile option, you have to copy
application-prod.yml
file and change name toapplication-{profile name}.yml
- Add
application-{profile-name}.yml
to.gitignore
to prevent pushing sensitive data.
- Add
- Correct the part below
docker-compose up
After building the project, access localhost:port/browser/index.html
- I referred to Google Style Guidelines
- Source file structure
- A source file consists of, in order:
- License or copyright information, if present
- Package statement
- Import statements
- Exactly one top-level class
- A source file consists of, in order:
- Class Name
- Use PascalCase
- Example
public class HelloWorld {}
- Method Name
- Use lowerCamelCase
- Begin with a verb/preposition
- Example
public void getUserByName(){}
public void toString(){}
- Variable Name
- Use lowerCamelCase
- Example
private String myName
- Create issues about the work.
- Create a branch on the issue.
- Commit, push to the created branch.
- When the work is completed, request a pull request to main branch after rebaseing the main branch.
- Review the code and merge it.
ISSUE_NUMBER-description
- e.g. Issue 2 related to user authentication.
2-user-authentication
Referred to Beom Dev Log and Conventional Commits
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
- Type
- build, docs, feat, fix, perf, refactor, test
- Example
feat: allow provided config object to extend other configs
Current maintainers:
- Jiyoon Bak - https://github.com/jiy00nn
- Sunwoong Kim - https://github.com/tkfdkskarl56