Skip to content

Commit

Permalink
Move frontend into repo (#139)
Browse files Browse the repository at this point in the history
* dashboard is accessible

* Delete local.yaml

* templates loaded from filesystem

* changed based on feedback

* undo util move

* nvm, doesn't make PR smaller

* redo util move

* auth added and email view

* refactor to use goview

* merge
  • Loading branch information
breadchris committed Mar 27, 2024
1 parent c38b7ce commit ac0c432
Show file tree
Hide file tree
Showing 67 changed files with 1,238 additions and 349 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -27,6 +27,9 @@ go.work
*.txt
*.toml

# local config
local.yaml

venv/
dist/
prototype/
Expand Down
37 changes: 35 additions & 2 deletions config.yaml
Expand Up @@ -32,12 +32,45 @@ cache:
type: memory

database:
type: memory
type: sqlite
dsn: "file::memory:?cache=shared"

dashboard:
enabled: true

destinations:
- type: duckdb
name: Local DuckDB file
api_keys:
- local
settings:
file: "./data/data.duckdb"
file: "./data/data.duckdb"
crypto:
jwt_private_key: |
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEArClKqE/tZMm5IHSu9lY4TJ34WXgGb9+lj39p+Qoac3K+t2JH
eTBeLAlDHzAuHkg1LI/tB5JG2phF3Lna9B1zqgVH1eCwfFT+SSBeNt7QuKrrVjhq
YGIi7SPI1ZYeVOe6xnzTxO6e0vNsUcX517U7fJYfaXPCEpFxFqiH9HRIrxAhqsg7
Vk/qZKUbtU1uuAMQq836vtuYm7Thpgu5NfZ9C1bmiFyqQq8fjB9b3PxWvKKRNVV/
N2FCT/xLtLFVqJ/FM04N0N5gjhE9zRcpvg6pIJklDjs4XMnLYhTmRsA78m0alLZW
W81hFrTr0T3i5gdQxFRxZizcHDBgXHc7FQD8nQIDAQABAoIBAA2IBU0rUw5L6JgL
c8D6z9v9wopNq7vZSSr5KbwgNioCx8ikGdgFnDE73SGzaLyKkltZSJkCvzzpIPyT
QwlS00d2uMmvqk9rYr0epSkM5DzPekXBk2LV88bNvDhFX0bvG7gEEaT12FfeOBJJ
TDTPEsjdB8UDCyrocYoFX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SA PRIVATE KEY-----
14 changes: 14 additions & 0 deletions go.mod
Expand Up @@ -14,8 +14,11 @@ require (
github.com/aws/aws-sdk-go-v2/service/s3 v1.51.4
github.com/aws/aws-sdk-go-v2/service/sqs v1.31.2
github.com/bwmarrin/snowflake v0.3.0
github.com/foolin/goview v0.3.0
github.com/go-chi/chi v1.5.5
github.com/go-chi/chi/v5 v5.0.12
github.com/go-chi/cors v1.2.1
github.com/go-chi/jwtauth/v5 v5.3.1
github.com/go-chi/render v1.0.3
github.com/google/uuid v1.6.0
github.com/ilyakaznacheev/cleanenv v1.5.0
Expand All @@ -34,6 +37,7 @@ require (
golang.org/x/oauth2 v0.18.0
golang.org/x/sys v0.18.0
google.golang.org/api v0.170.0
gorm.io/driver/postgres v1.5.7
gorm.io/driver/sqlite v1.5.5
gorm.io/gorm v1.25.7
)
Expand Down Expand Up @@ -70,6 +74,7 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/containerd/continuity v0.4.3 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/docker/cli v25.0.3+incompatible // indirect
github.com/docker/docker v25.0.3+incompatible // indirect
github.com/docker/go-connections v0.5.0 // indirect
Expand All @@ -88,12 +93,21 @@ require (
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.2 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgx/v5 v5.4.3 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/joho/godotenv v1.5.1 // indirect
github.com/klauspost/compress v1.17.7 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/lestrrat-go/blackmagic v1.0.2 // indirect
github.com/lestrrat-go/httpcc v1.0.1 // indirect
github.com/lestrrat-go/httprc v1.0.4 // indirect
github.com/lestrrat-go/iter v1.0.2 // indirect
github.com/lestrrat-go/jwx/v2 v2.0.20 // indirect
github.com/lestrrat-go/option v1.0.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-sqlite3 v1.14.22 // indirect
Expand Down

0 comments on commit ac0c432

Please sign in to comment.