Skip to content

Commit

Permalink
chore: Save unstaged changes before rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
mfontosco committed Mar 2, 2025
1 parent b84b496 commit 4547fb6
Show file tree
Hide file tree
Showing 500 changed files with 53,458 additions and 53,458 deletions.
786 changes: 393 additions & 393 deletions .dockerignore

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
NODE_ENV=development
PROFILE=local
PORT=5000
HOST=
REDIS_PORT= 6379
DB_SSL=true

JWT_SECRET=someSecrets
JWT_EXPIRY_TIMEFRAME=3600
REDIS_HOST=localhost
REDIS_PORT=6379
DB_TYPE=
DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_NAME=hng
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=
GOOGLE_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
OAUTH_LOGIN_REDIRECT=
SMTP_HOST=
SMTP_PORT=587
SERVER_NAME=Boilerplate
SMTP_USER=
SMTP_PASSWORD=
FRONTEND_URL=
ADMIN_SECRET=
SUPPORT_EMAIL=
AUTH_PASSWORD=
BASE_URL=
FLUTTERWAVE_SECRET_KEY=
FLUTTERWAVE_BASE_URL=
NODE_ENV=development
PROFILE=local
PORT=5000
HOST=
REDIS_PORT= 6379
DB_SSL=true

JWT_SECRET=someSecrets
JWT_EXPIRY_TIMEFRAME=3600
REDIS_HOST=localhost
REDIS_PORT=6379
DB_TYPE=
DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_NAME=hng
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=
GOOGLE_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
OAUTH_LOGIN_REDIRECT=
SMTP_HOST=
SMTP_PORT=587
SERVER_NAME=Boilerplate
SMTP_USER=
SMTP_PASSWORD=
FRONTEND_URL=
ADMIN_SECRET=
SUPPORT_EMAIL=
AUTH_PASSWORD=
BASE_URL=
FLUTTERWAVE_SECRET_KEY=
FLUTTERWAVE_BASE_URL=
98 changes: 49 additions & 49 deletions .env.local
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env.local contains default values for the environment variables needed by the app (use with PROFILE=local)
# * .env.$PROFILE committed environment-specific defaults
# * .env.development.local uncommitted environment-specific overrides (only with PROFILE=development)
#
# Real environment variables win over .env files.
#
# Warning, We don't use ".env" file because it is prioritize as the same level as real environment variables.
#
# Warning, if you don't run your command with "PROFILE=prod" at the beginning, like "PROFILE=prod npm run schema:generate"
# .env files with dynamic name like ".env.$PROFILE" won't be loaded,
# even if you have the "PROFILE" variable in your ".env.local" file.


# PROFILE=local
# NODE_ENV=development


PORT=3008
SMTP_HOST=
SMTP_PORT=587
SERVER_NAME=Boilerplate
SMTP_USER=
SMTP_PASSWORD=

PROFILE=local
NODE_ENV=development

PORT=3000

DB_USERNAME=username
DB_PASSWORD=password
DB_TYPE=postgres
DB_NAME=database
DB_HOST=localhost
DB_PORT=5432
DB_ENTITIES=dist/src/modules/**/entities/**/*.entity{.ts,.js}

DB_MIGRATIONS=dist/**/migrations/*{.ts,.js}
DB_TYPE=postgres
DB_SSL=true
JWT_SECRET=someSecrets
JWT_EXPIRY_TIMEFRAME=3600
BASE_URL= "https://staging.api-nestjs.boilerplate.hng.tech"
REDIS_PORT=6379

PAYSTACK_SECRET_KEY=sk_test_9b66341d3244dc051e10504f2a1962aa79e20084
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env.local contains default values for the environment variables needed by the app (use with PROFILE=local)
# * .env.$PROFILE committed environment-specific defaults
# * .env.development.local uncommitted environment-specific overrides (only with PROFILE=development)
#
# Real environment variables win over .env files.
#
# Warning, We don't use ".env" file because it is prioritize as the same level as real environment variables.
#
# Warning, if you don't run your command with "PROFILE=prod" at the beginning, like "PROFILE=prod npm run schema:generate"
# .env files with dynamic name like ".env.$PROFILE" won't be loaded,
# even if you have the "PROFILE" variable in your ".env.local" file.


# PROFILE=local
# NODE_ENV=development


PORT=3008
SMTP_HOST=
SMTP_PORT=587
SERVER_NAME=Boilerplate
SMTP_USER=
SMTP_PASSWORD=

PROFILE=local
NODE_ENV=development

PORT=3000

DB_USERNAME=username
DB_PASSWORD=password
DB_TYPE=postgres
DB_NAME=database
DB_HOST=localhost
DB_PORT=5432
DB_ENTITIES=dist/src/modules/**/entities/**/*.entity{.ts,.js}

DB_MIGRATIONS=dist/**/migrations/*{.ts,.js}
DB_TYPE=postgres
DB_SSL=true
JWT_SECRET=someSecrets
JWT_EXPIRY_TIMEFRAME=3600
BASE_URL= "https://staging.api-nestjs.boilerplate.hng.tech"
REDIS_PORT=6379

PAYSTACK_SECRET_KEY=sk_test_9b66341d3244dc051e10504f2a1962aa79e20084
PAYSTACK_WEBHOOK_SECRET=sk_test_9b66341d3244dc051e10504f2a1962aa79e20084
104 changes: 52 additions & 52 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:import/recommended',
'plugin:import/typescript',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 13,
sourceType: 'module',
project: ['./tsconfig.json'],
},
ignorePatterns: ['build/', 'public/', '/docs'],
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/no-floating-promises': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'import/no-restricted-paths': [
'error',
{
zones: [
{
target: './src/**/domain/**.*ts',
from: './src/**/infra/**/*.ts',
},
{
target: './src/**/domain/**.*ts',
from: './src/**/usecases/**/*.ts',
},
{
target: './src/**/domain/**.*ts',
from: './src/**/app/**/*.ts',
},
],
},
],
},
};
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:import/recommended',
'plugin:import/typescript',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 13,
sourceType: 'module',
project: ['./tsconfig.json'],
},
ignorePatterns: ['build/', 'public/', '/docs'],
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/no-floating-promises': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'import/no-restricted-paths': [
'error',
{
zones: [
{
target: './src/**/domain/**.*ts',
from: './src/**/infra/**/*.ts',
},
{
target: './src/**/domain/**.*ts',
from: './src/**/usecases/**/*.ts',
},
{
target: './src/**/domain/**.*ts',
from: './src/**/app/**/*.ts',
},
],
},
],
},
};
48 changes: 24 additions & 24 deletions .github/ISSUE_TEMPLATE/feat--.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
---
name: 'feat: '
about: Template for feature tasks
title: "[FEAT]"
labels: feature
assignees: ''

---

## Description


## Acceptance Criteria


### Purpose

### Requirem#ents


### Expected Outcome


###
---
name: 'feat: '
about: Template for feature tasks
title: "[FEAT]"
labels: feature
assignees: ''

---

## Description


## Acceptance Criteria


### Purpose

### Requirem#ents


### Expected Outcome


###
54 changes: 27 additions & 27 deletions .github/Unused/pr-deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# name: PR Deploy
# on:
# pull_request_target:
# branches:
# - dev

# jobs:
# deploy-pr-for-testing:
# environment:
# name: preview
# url: ${{ steps.deploy.outputs.preview-url }}
# runs-on: ubuntu-latest
# steps:
# - name: Checkout to branch
# uses: actions/checkout@v4
# - id: deploy
# name: Pull Request Deploy
# uses: hngprojects/pr-deploy@dev
# with:
# server_host: ${{ secrets.HOST }}
# server_username: ${{ secrets.USERNAME }}
# server_password: ${{ secrets.PASSWORD }}
# comment: false
# context: .
# dockerfile: Dockerfile
# exposed_port: 5000
# github_token: ${{ secrets.GITHUB_TOKEN }}
# name: PR Deploy
# on:
# pull_request_target:
# branches:
# - dev

# jobs:
# deploy-pr-for-testing:
# environment:
# name: preview
# url: ${{ steps.deploy.outputs.preview-url }}
# runs-on: ubuntu-latest
# steps:
# - name: Checkout to branch
# uses: actions/checkout@v4
# - id: deploy
# name: Pull Request Deploy
# uses: hngprojects/pr-deploy@dev
# with:
# server_host: ${{ secrets.HOST }}
# server_username: ${{ secrets.USERNAME }}
# server_password: ${{ secrets.PASSWORD }}
# comment: false
# context: .
# dockerfile: Dockerfile
# exposed_port: 5000
# github_token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 4547fb6

Please sign in to comment.