Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: auth service improvement changes #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions .env.local
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
NODE_ENV=development
PORT=9001
RABBITMQ_URL=amqp://admin:master123@rabbitmq:5672
RABBITMQ_FILES_QUEUE=files_queue
RABBITMQ_AUTH_QUEUE=auth_queue
DATABASE_URL="postgresql://admin:master123@postgres:5432/user-db?schema=public"
AWS_COGNITO_USER_POOL_ID=ap-south-1_gR5KggzuW
AWS_COGNITO_CLIENT_ID=5vqpp7t39j2vl5lr9vjmcmurjq
AWS_COGNITO_AUTHORITY=https://cognito-idp.ap-south-1.amazonaws.com
APP_NAME="auth"
APP_ENV="development"

HTTP_ENABLE=true
HTTP_HOST="0.0.0.0"
HTTP_PORT=9001
HTTP_VERSIONING_ENABLE=true
HTTP_VERSION=1

ACCESS_TOKEN_SECRET_KEY=1234567890
ACCESS_TOKEN_EXPIRED="14d"

RABBITMQ_URL="amqp://admin:master123@localhost:5672"
RABBITMQ_FILES_QUEUE="files_queue"
RABBITMQ_AUTH_QUEUE="auth_queue"

DATABASE_URL="postgresql://admin:master123@localhost:5432/user-db?schema=public"

AWS_COGNITO_USER_POOL_ID="ap-south-1_gR5KggzuW"
AWS_COGNITO_CLIENT_ID="5vqpp7t39j2vl5lr9vjmcmurjq"
AWS_COGNITO_AUTHORITY="https://cognito-idp.ap-south-1.amazonaws.com"
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run pre-commit
npx lint-staged
16 changes: 0 additions & 16 deletions .prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14 AS builder
FROM node:16 AS builder

WORKDIR /app

Expand Down
33 changes: 0 additions & 33 deletions junit.xml

This file was deleted.

Loading