Skip to content

Commit

Permalink
Merge branch 'dev' into feature/billing-plan-pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
chibuezemicahe authored Mar 2, 2025
2 parents 764e688 + 16a572b commit 30fd682
Show file tree
Hide file tree
Showing 91 changed files with 23,355 additions and 705 deletions.
46 changes: 19 additions & 27 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,41 +1,33 @@
NODE_ENV=development
PROFILE=local
PORT=5000
HOST=
REDIS_PORT= 6379
DB_SSL=true
NODE_ENV=development

PORT=3008

JWT_SECRET=someSecrets
JWT_EXPIRY_TIMEFRAME=3600


REDIS_HOST=localhost
REDIS_PORT=6379
DB_TYPE=

DB_TYPE=postgres
DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_NAME=hng
DB_HOST=localhost
DB_DATABASE=
DB_ENTITIES=dist/src/modules/**/entities/**/*.entity{.ts,.js}
DB_MIGRATIONS=dist/db/migrations/*{.ts,.js}
POSGRES_USER=$DB_USERNAME
POST
JWT_SECRET=gsgs
JWT_EXPIRY_TIMEFRAME=1500000
DB_SSL=false
JWT_REFRESH_SECRET=bbp
JWT_REFRESH_EXPIRY_TIMEFRAME=15
GOOGLE_REDIRECT_URI=

JWT_SECRET=someSecrets
JWT_EXPIRY_TIMEFRAME=3600

ADMIN_SECRET_KEY=sometext

GOOGLE_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
OAUTH_LOGIN_REDIRECT=
SMTP_HOST=

SMTP_HOST=sandbox.smtp.mailtrap.io
SMTP_PORT=587
SERVER_NAME=Boilerplate
SERVER_NAME=api
SMTP_USER=
SMTP_PASSWORD=
FRONTEND_URL=
ADMIN_SECRET=
SUPPORT_EMAIL=
AUTH_PASSWORD=
BASE_URL=
FLUTTERWAVE_SECRET_KEY=
FLUTTERWAVE_BASE_URL=
SMTP_PASSWORD=
2 changes: 1 addition & 1 deletion .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ NODE_ENV=development
PORT=3000

DB_USERNAME=username
DB_PASSWORD=password
DB_PASSWORD=password123
DB_TYPE=postgres
DB_NAME=database
DB_HOST=localhost
Expand Down
34 changes: 31 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ fabric.properties
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore


# DB
data/db/

docker-compose.yml
# User-specific files
*.suo
*.user
Expand Down Expand Up @@ -386,10 +391,9 @@ Network Trash Folder
Temporary Items
.apdisk

=======
# Local
dist
/.env
dist/
.env
/.env.*
*._local.ts

Expand All @@ -404,8 +408,32 @@ dist

# User specific ignores
todo.txt
/.vscode/
.vscode/

# Docker compose
docker-compose.yml
data/
data/
docker-compose.yml
package-lock.json
.dev.env


package-lock.json
docker-compose.yml
data/
.dev.env

/compose/compose.yaml
compose/compose.yaml

data/
docker-compose.yml
package-lock.json/
package-lock.json
.dev.env


package-lock.json
docker-compose.yml
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"source.fixAll": "explicit"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
"editor.defaultFormatter": "vscode.typescript-language-features"
}
}
65 changes: 0 additions & 65 deletions compose/compose.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions config/s3.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { registerAs } from '@nestjs/config';

export default registerAs('s3', () => ({
accessKey: process.env.AWS_ACCESS_KEY || '',
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY || '',
region: process.env.AWS_REGION || 'us-east-2',
bucketName: process.env.AWS_S3_BUCKET_NAME || '',
}));
6 changes: 6 additions & 0 deletions local repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
gerge branch 'dev' into feat/s3-resume-upload
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Loading

0 comments on commit 30fd682

Please sign in to comment.