Skip to content

Commit

Permalink
Merge branch 'dev' into hng_backend_project
Browse files Browse the repository at this point in the history
  • Loading branch information
Reaganz-Wat authored Mar 1, 2025
2 parents 0a6733c + 2ca80c4 commit ba2a0a0
Show file tree
Hide file tree
Showing 197 changed files with 24,483 additions and 1,292 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
Empty file added .eslint.rc
Empty file.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/chore--.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: 'chore: '
about: Template for maintenance tasks
title: '[CHORE]'
labels: chore
assignees: ''
---

## Description

<!-- Provide a clear and concise description of the maintenance task -->

## Motivation

<!-- Explain why this maintenance task is necessary -->

## Proposed Changes

<!-- Describe the changes that need to be made -->

## Expected Outcome

<!-- What will be the result after completing this chore -->

## Acceptance Criteria

<!-- List the criteria that must be met for this chore to be considered complete -->

- [ ]
- [ ]
- [ ]

## Additional Context

<!-- Add any other context or screenshots about the chore here -->
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/docs--.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: 'docs: '
about: Template for documentation tasks
title: '[DOCS]'
labels: documentation
assignees: ''
---

## Description

<!-- Provide a clear and concise description of the documentation task -->

## Current Documentation

<!-- Describe the current state of documentation, if any -->

## Proposed Changes

<!-- Describe what needs to be added, updated, or removed -->

## Motivation

<!-- Explain why these documentation changes are necessary -->

## Acceptance Criteria

<!-- List the criteria that must be met for this documentation task to be considered complete -->

- [ ]
- [ ]
- [ ]

## Additional Context

<!-- Add any other context or screenshots about the documentation task here -->
23 changes: 17 additions & 6 deletions .github/ISSUE_TEMPLATE/feat--.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,35 @@
---
name: 'feat: '
about: Template for feature tasks
title: "[FEAT]"
title: '[FEAT]'
labels: feature
assignees: ''

---

## Description

<!-- Provide a clear and concise description of the feature -->

## Acceptance Criteria

<!-- List the criteria that must be met for this feature to be considered complete -->

- [ ]
- [ ]
- [ ]

## Purpose

<!-- Explain why this feature is needed -->

### Purpose
## Requirements

### Requirem#ents
<!-- List any specific technical requirements for this feature -->

## Expected Outcome

### Expected Outcome
<!-- Describe what the end result should look like -->

## Additional Context

###
<!-- Add any other context or screenshots about the feature request here -->
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/fix--.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: 'fix: '
about: Template for bug fixes
title: '[FIX]'
labels: bug
assignees: ''
---

## Bug Description

<!-- Provide a clear and concise description of the bug -->

## Steps to Reproduce

<!-- List the steps to reproduce the behavior -->

1.
2.
3.

## Expected Behavior

<!-- Describe what you expected to happen -->

## Current Behavior

<!-- Describe what actually happens -->

## Screenshots/Logs

<!-- If applicable, add screenshots or logs to help explain the problem -->

## Environment

<!-- Please complete the following information -->

- OS: [e.g. Windows, macOS, Linux]
- Browser/Device: [e.g. Chrome, Firefox, iPhone]
- Version: [e.g. 22]

## Possible Solution

<!-- If you have suggestions on how to fix the bug -->

## Additional Context

<!-- Add any other context about the problem here -->
66 changes: 66 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Pull Request

## Description

<!-- Provide a brief summary of the changes made in this PR -->

## Related Issue

<!-- Link to the related issue(s) this PR addresses -->

Fixes #(issue)

## Type of Change

<!-- Mark the appropriate option with an "x" -->

- [ ] feat: New feature
- [ ] fix: Bug fix
- [ ] docs: Documentation updates
- [ ] style: Code style/formatting changes
- [ ] refactor: Code refactoring
- [ ] perf: Performance improvements
- [ ] test: Test additions/updates
- [ ] chore: Build process or tooling changes
- [ ] ci: CI configuration changes
- [ ] other: <!-- describe -->

## How Has This Been Tested?

<!-- Describe the tests you ran to verify your changes -->

- [ ] Unit tests
- [ ] Integration tests
- [ ] Manual tests

## Test Evidence

<!-- Please upload a screenshot showing all tests passing -->
<!-- This is required for all PRs that include code changes -->

## Screenshots (if applicable)

<!-- Add screenshots to help explain your changes if UI is affected -->

## Documentation Screenshots (if applicable)

<!-- If you've made code changes, please add screenshots of the updated documentation -->
<!-- This is required for all PRs that include code changes that affect user-facing features -->

## Checklist

<!-- Mark the appropriate option with an "x" -->

- [ ] My code follows the project's coding style
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published
- [ ] I have included a screenshot showing all tests passing
- [ ] I have included documentation screenshots (if applicable)

## Additional Notes

<!-- Add any other information about the PR here -->
46 changes: 43 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 @@ -99,6 +104,7 @@ BenchmarkDotNet.Artifacts/

# .NET Core
project.lock.json
package-lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json
Expand Down Expand Up @@ -385,10 +391,9 @@ Network Trash Folder
Temporary Items
.apdisk

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

Expand All @@ -400,3 +405,38 @@ dist
*.dev
*.prod


# 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
data/
.dev.env

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"
}
}
Loading

0 comments on commit ba2a0a0

Please sign in to comment.