Skip to content

Commit

Permalink
Merge pull request #84 from michaelcoll/feat/authentication
Browse files Browse the repository at this point in the history
feat(auth): connect authentication from front app to backend
  • Loading branch information
michaelcoll committed Jun 10, 2023
2 parents 325e18b + 919b587 commit 6f46854
Show file tree
Hide file tree
Showing 46 changed files with 1,524 additions and 981 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ data.db
data.db-shm
data.db-wal
coverage.out
.openapi-generator
openapitools.json

# ide
.idea/*
Expand Down
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,19 @@ generate:
sqlc:
@sqlc generate
@sqlc-addon generate --quiet

.PHONY: ts-model
ts-model:
openapi-generator-cli \
generate \
-i doc/openapi/spec.yml \
-g typescript-axios \
-o internal/web/src/api \
--additional-properties=apiPackage=api \
--additional-properties=modelPackage=model \
--additional-properties=withSeparateModelsAndApi=true \
--additional-properties=enablePostProcessFile=true \
&& find ./internal/web/src/api/model -type f -exec sed -i 's:/\* eslint-disable \*/::g' {} \; \
&& find ./internal/web/src/api/model -type f -exec sed -i 's@/\* tslint:disable \*/@@g' {} \; \
&& cd internal/web \
&& pnpm run lint
Loading

0 comments on commit 6f46854

Please sign in to comment.