-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#4): implement auth0 into initial user service
- Loading branch information
1 parent
10c1bbd
commit b105a89
Showing
356 changed files
with
8,076 additions
and
1,606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+64 KB
.yarn/cache/@esbuild-kit-core-utils-npm-3.3.2-f27be25172-d856f5bd72.zip
Binary file not shown.
Binary file added
BIN
+14.3 KB
.yarn/cache/@esbuild-kit-esm-loader-npm-2.6.5-431b2c6e16-6894b29176.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+4.65 KB
...vkit-npm-18.2.4-1e16ee08a4-1015d0de9d.zip → ...vkit-npm-18.3.3-278ece6e67-19d3a2256f.zip
Binary file not shown.
Binary file renamed
BIN
+4.78 KB
...uild-npm-18.2.4-c5327c1747-3b6b496110.zip → ...uild-npm-18.3.3-877de5c4e8-483de627ca.zip
Binary file not shown.
Binary file renamed
BIN
+5.8 KB
...jest-npm-18.2.4-62bbddadd7-6bc7caf52a.zip → ...jest-npm-18.3.3-dcb5624338-8ee9a7d35f.zip
Binary file not shown.
Binary file renamed
BIN
+5.78 KB
...l-js-npm-18.2.4-1e568fdbdd-15386275dc.zip → ...l-js-npm-18.3.3-b3cb14e144-52994e1e3b.zip
Binary file not shown.
Binary file renamed
BIN
+5.1 KB
...node-npm-18.2.4-7fd304b140-1db12a2c4e.zip → ...node-npm-18.3.3-cc9b5d991d-54d2e5c53a.zip
Binary file not shown.
Binary file renamed
BIN
+13.5 KB
...eact-npm-18.2.4-082a0031d3-f15cc8ac92.zip → ...eact-npm-18.3.3-278c06e298-f22b81073e.zip
Binary file not shown.
Binary file renamed
BIN
+9.81 KB
...-tao-npm-18.2.4-da226d0fd5-649f7e51f6.zip → ...-tao-npm-18.3.3-ce6d197b53-5f7beef10c.zip
Binary file not shown.
Binary file renamed
BIN
+7.27 KB
...vite-npm-18.2.4-17bf3247fe-f4f0ec2aa3.zip → ...vite-npm-18.3.3-40decf2d48-05ab194c08.zip
Binary file not shown.
Binary file renamed
BIN
+5.25 KB
...-web-npm-18.2.4-02c58b925b-d2caca832d.zip → ...-web-npm-18.3.3-fac796752f-46f97cc612.zip
Binary file not shown.
Binary file renamed
BIN
+6.85 KB
...pace-npm-18.2.4-9b274bdd49-25a86b1004.zip → ...pace-npm-18.3.3-503f939a6f-50ff18bac2.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+197 KB
...vkit-npm-18.2.4-6aa3017a2e-e3493eb919.zip → ...vkit-npm-18.3.3-071c5b486f-eb611a9613.zip
Binary file not shown.
Binary file renamed
BIN
+64.8 KB
...uild-npm-18.2.4-3890c00c95-fbda3f4054.zip → ...uild-npm-18.3.3-8765fa82b2-a3e55efc99.zip
Binary file not shown.
Binary file renamed
BIN
+186 KB
...lint-npm-18.2.4-b20e1b41b2-29d8814f07.zip → ...lint-npm-18.3.3-ed42877f09-a5445ed210.zip
Binary file not shown.
Binary file renamed
BIN
+144 KB
...jest-npm-18.2.4-09f46e7f25-66bda3108d.zip → ...jest-npm-18.3.3-e56b832509-54577b227d.zip
Binary file not shown.
Binary file renamed
BIN
+432 KB
...x-js-npm-18.2.4-5abb13ef54-b8e7e1196e.zip → ...x-js-npm-18.3.3-f8f627d51d-b71bd34792.zip
Binary file not shown.
Binary file renamed
BIN
+4.77 KB
...nter-npm-18.2.4-9f4b1fa237-7a4f8fc6b4.zip → ...nter-npm-18.3.3-40578736d1-d18b82cc4e.zip
Binary file not shown.
Binary file renamed
BIN
+92.3 KB
...node-npm-18.2.4-a938abd928-27fcfba0f3.zip → ...node-npm-18.3.3-41cfb0d93d-022fcee397.zip
Binary file not shown.
Binary file renamed
BIN
+8.92 MB
...ux-x64-gnu-npm-18.2.4-180ab65901-10c0.zip → ...ux-x64-gnu-npm-18.3.3-9454f820a4-10c0.zip
Binary file not shown.
Binary file renamed
BIN
+63.9 KB
...ight-npm-18.2.4-37a26f86c9-e9ff7a3c26.zip → ...ight-npm-18.3.3-aaf7e8d48c-52cbc5ee9e.zip
Binary file not shown.
Binary file renamed
BIN
+618 KB
...eact-npm-18.2.4-1b480cc243-4477b1ee43.zip → ...eact-npm-18.3.3-bca33c56cf-966530f678.zip
Binary file not shown.
Binary file renamed
BIN
+540 KB
...vite-npm-18.2.4-65db7e95b4-1f1def054e.zip → ...vite-npm-18.3.3-fa75cdd0c0-903218566d.zip
Binary file not shown.
Binary file renamed
BIN
+172 KB
...-web-npm-18.2.4-75ef5ee743-d58a9010cd.zip → ...-web-npm-18.3.3-9064361cfd-f9330f20b4.zip
Binary file not shown.
Binary file renamed
BIN
+257 KB
...pace-npm-18.2.4-fb03af954a-84190df128.zip → ...pace-npm-18.3.3-7c705053cb-364044a353.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.09 MB
...core-npm-3.41.0-f4497812de-41e60dd29a.zip → ...core-npm-3.41.1-e97ffd4c44-9bf0e64108.zip
Binary file not shown.
Binary file renamed
BIN
+630 KB
...n-dev-npm-2.8.1-582f6f9deb-e10d6a1fba.zip → ...n-dev-npm-2.9.1-ee87cc6138-b532cd4920.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+356 KB
...react-npm-2.8.1-ae6c4e3509-3602b58b54.zip → ...react-npm-2.9.1-1f582567e9-221a2fe916.zip
Binary file not shown.
Binary file removed
BIN
-2.25 MB
.yarn/cache/@remix-run-router-npm-1.15.3-pre.0-705a63884b-e4acb05be3.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+273 KB
.yarn/cache/@remix-run-server-runtime-npm-2.9.1-49c29e8df2-941329c6a7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11.8 KB
.yarn/cache/@testcontainers-postgresql-npm-10.9.0-9543a054d4-b9fdce6fb6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+46.1 KB
.yarn/cache/@types-express-serve-static-core-npm-4.19.0-7b35544f17-38a13dfbb3.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.85 KB
.yarn/cache/@types-js-levenshtein-npm-1.1.3-417b5f0c21-025f2bd8d8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.87 KB
.yarn/cache/@types-set-cookie-parser-npm-2.4.7-e9d6d979b1-3c4b5168fe.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+735 KB
.yarn/cache/@typescript-eslint-scope-manager-npm-7.7.1-b5f83095e3-4032da8fce.zip
Binary file not shown.
Binary file added
BIN
+157 KB
.yarn/cache/@typescript-eslint-types-npm-7.7.1-6fe25c6403-7d240503d9.zip
Binary file not shown.
Binary file added
BIN
+595 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-7.7.1-5121329814-c6b32bd96f.zip
Binary file not shown.
Binary file added
BIN
+360 KB
.yarn/cache/@typescript-eslint-utils-npm-7.7.1-2743ed2f8b-0986b8c297.zip
Binary file not shown.
Binary file added
BIN
+22.4 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-7.7.1-fad2830a3c-19cbd14ac9.zip
Binary file not shown.
Binary file removed
BIN
-24.7 KB
.yarn/cache/@vitest-coverage-v8-npm-1.4.0-b46eb0501b-1ff9db69c8.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+141 KB
...xpect-npm-1.5.0-aca2e6805c-12138caf08.zip → ...xpect-npm-1.5.1-9cc59d304b-4743ca8de3.zip
Binary file not shown.
Binary file renamed
BIN
+64.4 KB
...unner-npm-1.5.0-4ea8130b80-a7b693e412.zip → ...unner-npm-1.5.1-1bd8a6b0c9-a079c111c9.zip
Binary file not shown.
Binary file renamed
BIN
+67.7 KB
...pshot-npm-1.5.0-807b642dba-d897070b3a.zip → ...pshot-npm-1.5.1-87cae6bf67-d3d769873b.zip
Binary file not shown.
Binary file renamed
BIN
+18.8 KB
...t-spy-npm-1.5.0-7e371e530c-0206f1e843.zip → ...t-spy-npm-1.5.1-9ec8baf765-865b94bc99.zip
Binary file not shown.
Binary file renamed
BIN
+817 KB
...st-ui-npm-1.5.0-fe8ae95e4f-2b565024a6.zip → ...st-ui-npm-1.5.1-18a33515ae-efba22a08b.zip
Binary file not shown.
Binary file renamed
BIN
+155 KB
...utils-npm-1.5.0-be84c568f7-b9d779ea5c.zip → ...utils-npm-1.5.1-e51d68286e-45bef3c3c5.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-46.9 KB
.yarn/cache/babel-plugin-styled-components-npm-2.1.4-40cd8c2d2b-553f35f5fe.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.58 KB
.yarn/cache/buffer-equal-constant-time-npm-1.0.1-41826f3419-fb2294e64d.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+16.7 KB
.yarn/cache/eslint-plugin-drizzle-npm-0.2.3-759ff3a121-e747b712e7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+3.8 MB
...e/nx-npm-18.2.4-117bb09494-723b7589b5.zip → ...e/nx-npm-18.3.3-136de8f912-0ab2ff14d7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+31.1 KB
.yarn/cache/safe-stable-stringify-npm-2.4.3-d895741b40-81dede06b8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.98 KB
.yarn/cache/ssh-remote-port-forward-npm-1.0.4-5c686cdf22-33a441af12.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.37 MB
...itest-npm-1.5.0-9d3c1fee8a-87f6666ccc.zip → ...itest-npm-1.5.1-da8c0fa81f-85f6b9250c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# node-graphql/docker-compose.yml | ||
|
||
version: '3.8' | ||
services: | ||
postgres: | ||
image: postgres:16.2-alpine3.19 | ||
restart: always | ||
environment: | ||
- POSTGRES_USER=admin | ||
- POSTGRES_PASSWORD=password | ||
- POSTGRES_DB=campaign | ||
- PGPORT=5433 | ||
volumes: | ||
- postgres:/var/lib/postgresql/data | ||
ports: | ||
- '5433:5433' | ||
volumes: | ||
postgres: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
NODE_ENV=development | ||
POSTGRES_URL="postgresql://admin:password@localhost:5433/campaign" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import type { Config } from 'drizzle-kit'; | ||
|
||
export default { | ||
schema: './src/schema.ts', | ||
out: './migrations', | ||
driver: 'pg', | ||
} satisfies Config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
app = 'campaign-pg' | ||
primary_region = 'syd' | ||
|
||
[env] | ||
PRIMARY_REGION = 'syd' | ||
|
||
[[mounts]] | ||
source = 'pg_data' | ||
destination = '/data' | ||
|
||
[[services]] | ||
protocol = 'tcp' | ||
internal_port = 5432 | ||
auto_start_machines = false | ||
|
||
[[services.ports]] | ||
port = 5432 | ||
handlers = ['pg_tls'] | ||
|
||
[services.concurrency] | ||
type = 'connections' | ||
hard_limit = 1000 | ||
soft_limit = 1000 | ||
|
||
[[services]] | ||
protocol = 'tcp' | ||
internal_port = 5433 | ||
auto_start_machines = false | ||
|
||
[[services.ports]] | ||
port = 5433 | ||
handlers = ['pg_tls'] | ||
|
||
[services.concurrency] | ||
type = 'connections' | ||
hard_limit = 1000 | ||
soft_limit = 1000 | ||
|
||
[checks] | ||
[checks.pg] | ||
port = 5500 | ||
type = 'http' | ||
interval = '15s' | ||
timeout = '10s' | ||
path = '/flycheck/pg' | ||
|
||
[checks.role] | ||
port = 5500 | ||
type = 'http' | ||
interval = '15s' | ||
timeout = '10s' | ||
path = '/flycheck/role' | ||
|
||
[checks.vm] | ||
port = 5500 | ||
type = 'http' | ||
interval = '15s' | ||
timeout = '10s' | ||
path = '/flycheck/vm' | ||
|
||
[[metrics]] | ||
port = 9187 | ||
path = '/metrics' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { migrate } from 'drizzle-orm/postgres-js/migrator'; | ||
import { db } from './src/db'; | ||
import { pg } from './src/pg'; | ||
|
||
await migrate(db, { migrationsFolder: './migrations' }); | ||
|
||
await pg.end(); |
Oops, something went wrong.