Skip to content

Commit

Permalink
feat: MVP's out 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmoraes committed Aug 9, 2023
0 parents commit 75394b9
Show file tree
Hide file tree
Showing 76 changed files with 15,214 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .air.toml
@@ -0,0 +1,44 @@
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"

[build]
args_bin = []
bin = "./tmp/main"
cmd = "go build -o ./tmp/main ./cmd/handler/..."
delay = 0
exclude_dir = ["assets", "tmp", "vendor", "testdata"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
rerun = false
rerun_delay = 500
send_interrupt = false
stop_on_error = false

[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"

[log]
main_only = false
time = false

[misc]
clean_on_exit = false

[screen]
clear_on_rebuild = false
keep_scroll = true
24 changes: 24 additions & 0 deletions .dockerignore
@@ -0,0 +1,24 @@
.dockerignore
.editorconfig
.git
.github
.gitignore
.vscode
*.dsl
*.env
*.env.local
*.json
*.md
*.puml
*.sql
*.toml
*.yaml
*.yml
bin
Dockerfile
internal/**/*.graphql
internal/**/genqlient.yaml
LICENSE
Makefile
src
tmp
28 changes: 28 additions & 0 deletions .editorconfig
@@ -0,0 +1,28 @@
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[.vscode/*.json]
insert_final_newline = false

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab

[*.mk]
indent_style = tab

[*.go]
indent_style = tab

[go.mod]
indent_style = tab

[.git*]
indent_style = tab
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG.md
@@ -0,0 +1,33 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
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.

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

**Device information:**

- OS: [e.g. iOS]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
@@ -0,0 +1,22 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
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.
21 changes: 21 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/SEMANTIC.md
@@ -0,0 +1,21 @@
# Changes

## Non-breaking

- [ ] `feat` - adds functionality for the user
- [ ] `fix` - fixes an issue for the user
- [ ] `docs` - changes to the documentation
- [ ] `style` - formatting, missing semi colons, etc
- [ ] `refactor` - refactoring production code, eg. renaming a variable
- [ ] `test` - adding missing tests, refactoring tests
- [ ] `chore` - configuration of lint, IDE, issue template, etc

## Breaking

- [ ] `feat!` - adds functionality for the user, but changes existing functionality
- [ ] `fix!` - fixes an issue for the user, but changes existing functionality
- [ ] `chore!` - updating yarn/lerna scripts, etc

## Changelog

{{changelog}}
14 changes: 14 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
labels:
- dependencies
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- dependencies
30 changes: 30 additions & 0 deletions .github/workflows/codeql.yml
@@ -0,0 +1,30 @@
name: "CodeQL"

# yamllint disable-line rule:truthy
on:
schedule:
- cron: '0 9 * * 1'

env:
GOLANG_VERSION: 1.16

jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup golang
uses: actions/setup-go@v3
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: go
- name: vendor
run: go mod vendor
- name: build
uses: wwmoraes/actions/golang/build@master
- name: CodeQL analysis
uses: github/codeql-action/analyze@v1

0 comments on commit 75394b9

Please sign in to comment.