Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
boostvolt committed May 13, 2023
0 parents commit 0232797
Show file tree
Hide file tree
Showing 73 changed files with 4,310 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Function is faulty or not as expected
title: ''
labels: 'fix'
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Possible solution**
If you have an idea of how to fix the problem, describe it here.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Blank
about: Create a blank issue
title: ''
labels: ''
assignees: ''

---
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Create a feature request
title: ''
labels: 'feat'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/refactor_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Refactor report
about: Bad structure, violated patterns, clean code, ...
title: ''
labels: 'refactor'
assignees: ''

---

**Describe the refactor**
A clear and concise description of what the refactor is about.

**Current code**
Include a link to the current code or provide a code snippet if it's a small refactor.

**Possible refactor approach**
If you have an idea of how to refactor the code, describe it here.

**Reason for the refactor**
A clear and concise description of why the refactor is needed.

**Additional context**
Include any additional information or context that would be helpful for understanding the refactor
report.
Binary file added .github/assets/connection-registry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/connection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions .github/assets/execution.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/multichat_class_diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/mvc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/payload.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Resolves #000

## Description

Please provide a brief description of the changes you've made in this pull request.

## Checklist

Please make sure that the following items have been completed before submitting this pull request:

- [ ] All code has been properly tested
- [ ] All tests pass successfully
- [ ] Code has been reviewed for clarity, readability, and maintainability
- [ ] Code has been properly documented with JavaDoc comments
70 changes: 70 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# InelliJ IDEA files
*.iml
*.ipr
*.ids
*.iws
.idea/

# Eclipse files
.project
.metadata
.classpath
.settings/
.loadpath
bin/

# Netbeans
nbactions.xml

# Visual Studio Code
.vscode

# Maven
target/

# gradle files
.gradle
build/

# ignore logfiles
*.log*

# OS dependant files
.DS_Store
.Spotlight-V100
.Trashes
Thumbs.db
Desktop.ini
*~
# Thumbnails
._*

# compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so

# packages
*.7z
#*.jar
*.rar
*.zip
*.gz
*.bzip
*.xz
*.lzma
*~$*

# package managment formats
*.dmg
*.xpi
*.gem
*.egg
*.deb
*.rpm

# databases
*.sqlite
119 changes: 119 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Code of Conduct

## Conventional Commits

Developers should use the Conventional Commits standard when committing changes to the codebase.

| Type | Description |
|----------|-----------------------------------------------------------------------|
| feat | Declares a new feature has been added |
| fix | Declares a bug have been fixed |
| chore | Declares changes which don’t modify source or test files (eg. assets) |
| ci | Declares a change on the CI or CD process |
| build | Declares changes on the build setup |
| docs | Declares changes on documentation |
| style | Declares changes on code style |
| refactor | Declares a change of code without an effective change on the program |
| perf | Declares a change on performance |
| revert | Declares that a previous commit has been reverted |
| test | Declares changes on tests |

### Examples

#### Commit Message

```
refactor: adjust vehicle texture size [#ISSUENUMBER]
refactor: adjust vehicle texture size [NOISSUE]
```

#### Branch Name

```
refactor/#ISSUENUMBER_adjust-vehicle-texture-size
refactor/NOISSUE_adjust-vehicle-texture-size
```

## Contributing

Developers should follow the following guidelines when contributing to the project:

### 1. Create a new branch

When starting work on a new feature or bug fix, create a new branch from the `main` branch. The name
of the branch should be descriptive and should include the issue number and a short description of
the feature or bug fix. For example, if you are working on issue #123, the branch name should
be `feat/#123_add-new-feature`.

### 2. Commit changes

When committing changes to the codebase, developers should follow
the [Conventional Commits](#conventional-commits) standard. This will ensure that the commit
messages are consistent and descriptive, and will allow the commit history to be automatically
parsed to generate release notes.

### 3. Create a draft pull request

After committing changes to the codebase, create a draft pull request to inform other developers
that you are working on a new feature or bug fix. The pull request should be kept in draft mode
until the feature or bug fix is complete.

### 4. Create a pull request

When the feature or bug fix is complete, mark the pull request as ready to review to merge the
changes into the `main` branch. The pull request should be reviewed by at least one other developer
before it can be merged.

### 5. Review pull request

When a pull request is marked as ready for review, it should be reviewed by at least one other
developer. The reviewer should verify that the code meets
the [Definition of Done](#definition-of-done).

### 6. Merge pull request

Once the pull request has been reviewed and approved, it can be merged into the `main` branch. The
pull request should be merged using the "Rebase and merge" option to ensure that the commit history
remains clean and concise.

## Definition of Done

### 1. Code meets coding standards

All code must adhere to the rules defined in the Clean Code handbook for at least level L1. Level L2
rules should also be taken into consideration. Specifically, emphasis should be placed on:

1. Correct abstraction level: The code should have a clear and appropriate level of abstraction,
with well-defined interfaces and separation of concerns.
2. Class diagram: The class diagram should be clear and well-organized, with high cohesion and low
coupling between classes.
3. Correct error handling: The code should handle errors correctly, including validating arguments
and handling exceptions in a consistent and appropriate manner.

### 2. Unit tests pass

All code changes must be accompanied by unit tests that verify the expected behavior of the code.
These tests must pass without any errors or failures before the code can be considered complete.

### 3. Code is reviewed

All code must be reviewed by at least one other developer to ensure quality and compliance with
coding standards. The code review should focus on identifying any bugs, security vulnerabilities, or
design flaws that could impact the quality or maintainability of the code.

### 4. Documentation is complete

All code must be fully documented, including comments within the code and external documentation
such as user manuals. The documentation should be comprehensive and accurate, and should provide
enough detail for other developers and stakeholders to understand the code.

### 5. Acceptance criteria are met

The code must meet all of the acceptance criteria as defined by the stakeholders. These acceptance
criteria are used as a basis for verifying that the code meets the intended requirements

### 6. Security is considered

The code must be reviewed for security vulnerabilities and any identified issues must be addressed.
The code should be designed with security in mind, and should be subject to regular security testing
to identify any new vulnerabilities.
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copyright © 2023 Boostvolt (Jan). All rights reserved.
Loading

0 comments on commit 0232797

Please sign in to comment.