hng_boilerplate_nestjs
Description
File Explorer
Download Latest Version (.zip)- chore--.md
- docs--.md
- feat--.md
- fix--.md
- pr-deploy.yaml
- scheduled-test.yaml
- dev-deployment.yaml
- lint-build-test.yaml
- main-deployment.yaml
- staging-deployment.yaml
- PULL_REQUEST_TEMPLATE.md
- commit-msg
- pre-commit
- launch.json
- settings.json
- compose.dev.yaml
- compose.green.yaml
- compose.override.yaml
- compose.prod.yaml
- compose.staging.yaml
- deploy.sh
- auth.config.ts
- index.js
- s3.config.ts
- server.config.ts
- nginx-green.conf
- nginx.conf
- compress_send.js
- index.js
- test.sh
- 1740788110830-UpdatePhoneNumberType.ts
- admin.dto.ts
- create-admin-response.dto.ts
- seeding.controller.ts
- seeding.module.ts
- seeding.service.ts
- data-source.ts
- base.entity.ts
- auth.guard.ts
- authorization.guard.ts
- job-access.guard.ts
- job-owner.guard.ts
- language.guard.ts
- member.guard.ts
- permission.decorator.ts
- super-admin.guard.ts
- create-api-status.dto.ts
- create-request.dto.ts
- api-status.entity.ts
- request.entity.ts
- api-status.service.spec.ts
- api-status.controller.ts
- api-status.module.ts
- api-status.service.ts
- auth-response.dto.ts
- change-password.dto.ts
- create-user.dto.ts
- enable-2fa.dto.ts
- forgot-password.dto.ts
- generic-reponse.dto.ts
- google-auth.dto.ts
- login-error-dto.ts
- login-response.dto.ts
- login.dto.ts
- request-signin-token.dto.ts
- update-user-password.dto.ts
- updatePasswordDto.ts
- verify-2fa.dto.ts
- GoogleAuthPayloadInterface.ts
- jwt.strategy.ts
- auth.service.spec.ts
- login.e2e-spec.ts
- auth.controller.ts
- auth.module.ts
- auth.service.ts
- billing-plan-docs.ts
- billing-plan.dto.ts
- update-billing-plan.dto.ts
- billing-plan.entity.ts
- billing-plan.mapper.ts
- billing-plan.service.spec.ts
- billing-plan.controller.ts
- billing-plan.module.ts
- billing-plan.service.ts
- subscription-scheduler.ts
- create-blog-category.dto.ts
- update-blog-category.dto.ts
- blog-category.entity.ts
- blog-category.service.spec.ts
- update-blog-category.service.spec.ts
- blog-category.controller.ts
- blog-category.module.ts
- blog-category.service.ts
- blog-response.dto.ts
- blog.dto.ts
- create-blog.dto.ts
- update-blog-response.dto.ts
- update-blog.dto.ts
- blog.entity.ts
- blog.service.update.spec.ts
- blogs.service.spec.ts
- blogs.controller.ts
- blogs.module.ts
- blogs.service.ts
- add-comment.dto.ts
- comment-response.dto.ts
- create-comment.dto.ts
- dislike-comment.dto
- comments.entity.ts
- comments.service.spec.ts
- comments.controller.ts
- comments.module.ts
- comments.service.ts
- contact-us-swagger.docs.ts
- create-contact-error.dto.ts
- create-contact-response.dto.ts
- create-contact-us.dto.ts
- contact-us.entity.ts
- contact-us.service.spec.ts
- contact-us.controller.ts
- contact-us.module.ts
- contact-us.service.ts
- get-mom-statistics.dto.ts
- get-revenue-response.dto.ts
- get-sales-statistics.dto.ts
- get-statistics.dto.ts
- get-stats-data.dto.ts
- get-subscription-count.dto.ts
- mom-stats.dto.ts
- cart.entity.ts
- order-items.entity.ts
- order.entity.ts
- transaction.entity.ts
- dashboard.controller.ts
- dashboard.module.ts
- dashboard.service.spec.ts
- dashboard.service.ts
- create-template-response.dto.ts
- delete-template-response.dto.ts
- email.dto.ts
- error-response-dto.ts
- get-all-template-response.dto.ts
- get-template-response.dto.ts
- update-template-response.dto.ts
- Account-Deactivation.hbs
- Account-Inactivity-Deactivation.hbs
- Activate-Account.hbs
- Activation-Link.hbs
- Active-Account.hbs
- contact-inquiry.hbs
- Email-Complete.hbs
- Email-Verification.hbs
- index.hbs
- Invoice.hbs
- login-otp.hbs
- New-Activation-Link.hbs
- New-Feature-Announcement.hbs
- Newsletter.hbs
- Password-Reset-Complete-Template.hbs
- Payment-receipt.hbs
- renewal-reminder.hbs
- Reset-Password-Template.hbs
- Subscription-Cancellation-Confirmation.hbs
- Subscription-Confirmation.hbs
- Subscription-Renewal-Disabled.hbs
- Subscription-Renewal-Failed.hbs
- Subscription-Renewal-Reminder.hbs
- waitlist-confirmation.hbs
- Welcome-Template.hbs
- article.interface.ts
- message.interface.ts
- MailInterface.ts
- organization-invitation.hbs
- email.consumer.spec.ts
- email.consumer.ts
- email.controller.ts
- email.module.ts
- email.service.spec.ts
- email.service.ts
- queue.service.ts
- create-faq.dto.ts
- update-faq.dto.ts
- faq.entity.ts
- faq.create.service.spec.ts
- faq.service.spec.ts
- faq.controller.ts
- faq.interface.ts
- faq.module.ts
- faq.service.ts
- create-flutterwave-payment.dto.ts
- create-payment.dto.ts
- update-flutterwave.dto.ts
- payment.entity.ts
- payment-plan.ts
- flutterwave.controller.ts
- flutterwave.module.ts
- flutterwave.service.spec.ts
- flutterwave.service.ts
- helpCenter-swagger.ts
- create-help-center.dto.ts
- get-help-center.dto.ts
- help-center.response.dto.ts
- search-help-center.dto.ts
- update-help-center.dto.ts
- updateHelp-center.dto.ts
- help-center.entity.ts
- help-center.interface.ts
- help-center.service.spec.ts
- help-center.controller.ts
- help-center.module.ts
- help-center.service.ts
- accept-invite.dto.ts
- all-invitations-response.dto.ts
- creat-invite-response.dto.ts
- create-invite.dto.ts
- invite-error-response.dto.ts
- invite.dto.ts
- pagination-query.dto.ts
- pending-invitations.ts
- send-invitations-response.dto.ts
- send-invites.dto.ts
- invite.entity.ts
- mockInvites.ts
- mockInvitesReponse.ts
- mockOrg.ts
- mockUser.ts
- invite.service.spec.ts
- test-invite.service.spec.ts
- invite.controller.ts
- invite.module.ts
- invite.service.ts
- jobs-swagger.ts
- find-job-response.dto.ts
- job-application-error.dto.ts
- job-application-response.dto.ts
- job-application.dto.ts
- job.dto.ts
- jobSearch.dto.ts
- pagination.dto.ts
- update-job.dto.ts
- job-application.entity.ts
- job.entity.ts
- jobs.mock.ts
- jobs.service.spec.ts
- helpers.ts
- jobs.controller.ts
- jobs.module.ts
- jobs.service.ts
- create-language.dto.ts
- update-language.dto.ts
- language.entity.ts
- languages.controller.spec.ts
- languages.service.spec.ts
- languages.controller.ts
- languages.module.ts
- languages.service.ts
- create-newsletter-subscription.dto.ts
- newsletter-subscription.response.dto.ts
- resubscribe-newsletter.dto.ts
- unsubscribe-newsletter.dto.ts
- newsletter-subscription.entity.ts
- newsletter-subscription.service.spec.ts
- newsletter-subscription.controller.ts
- newsletter-subscription.module.ts
- newsletter-subscription.service.ts
- notification-settings-error.dto.ts
- notification-settings-response.dto.ts
- notification-settings.dto.ts
- notification-setting.entity.ts
- notification-settings.controller.ts
- notification-settings.module.ts
- notification-settings.service.spec.ts
- notification-settings.service.ts
- create-notification-all-users-res.dto.ts
- create-notification-error.dto.ts
- create-notification-props.dto.ts
- create-notification-response.dto.ts
- create-notification.dto.ts
- create-notifiction-all-users.dto.ts
- get-notification-response-dto.ts
- mark-all-notifications-as-read-error.dto.ts
- mark-all-notifications-as-read.dto.ts
- mark-notification-as-read-error.dto.ts
- mark-notification-as-read.dto.ts
- notification-data.dto.ts
- notification-prop.dto.ts
- notification-response.dto.ts
- notification.dto.ts
- unread-notifications-response.dto.ts
- unread-response-error.dto.ts
- notifications.entity.ts
- notification-repo.mock.ts
- user-repo.mock.ts
- notifications.service.spec.ts
- user-service.mock.ts
- notifications.controller.ts
- notifications.module.ts
- notifications.service.ts
- add-member.dto.ts
- create-organisation-options.ts
- org-member.dto.ts
- org-members-response.dto.ts
- organisation.dto.ts
- update-organisation-role.dto.ts
- update-organisation.dto.ts
- user-orgs-response.dto.ts
- org-members.entity.ts
- org-preferences.entity.ts
- organisations.entity.ts
- OrganisationInterface.ts
- create-organisation.mapper.ts
- member-role.mapper.ts
- org-members.mapper.ts
- organisation.mapper.ts
- create-organisation-response.mock.ts
- organisation-dto.mock.ts
- organisation-role.mock.ts
- organisation.mock.ts
- profile.mock.ts
- user.mock.ts
- organisations.service.spec.ts
- organisations.controller.ts
- organisations.module.ts
- organisations.service.ts
- otp.dto.ts
- otp.entity.ts
- otp.module.ts
- otp.service.spec.ts
- otp.service.ts
- create-permission.dto.ts
- permission-list.dto.ts
- update-permission.dto.ts
- default-permissions.entity.ts
- permissions.entity.ts
- custom-validator.ts
- PermissionCategory.ts
- organisation-permissions.mock.ts
- organisation.mock.ts
- role.mock.ts
- permissions.service.spec.ts
- permissions.controller.ts
- permissions.module.ts
- permissions.service.ts
- product-category.entity.ts
- create-product.dto.ts
- create-review.dto.ts
- delete-product.dto.ts
- get-total-products.dto.ts
- product-response.dto.ts
- update-product.dto.ts
- product-variant.entity.ts
- product.entity.ts
- review.entity.ts
- comment.mock.ts
- deleted-product.mock.ts
- product-request-dto.mock.ts
- product.mock.ts
- products.service.spec.ts
- current-user.decorator.ts
- products.controller.ts
- products.module.ts
- products.service.ts
- products.superadmin.controller.ts
- file.validator.ts
- update-profile.dto.ts
- upload-profile-pic.dto.ts
- profile.entity.ts
- mockUser.ts
- profileMock.ts
- profile.service.spec.ts
- profile.controller.ts
- profile.module.ts
- profile.service.ts
- create-organisation-role.dto.ts
- create-role-with-permission.dto.ts
- update-organisation-role.dto.ts
- organisation-user-role.entity.ts
- role.entity.ts
- role.service.spec.ts
- role.controller.ts
- role.module.ts
- role.service.ts
- s3.service.ts
- squeeze.dto.ts
- update-squeeze.dto.ts
- squeeze.entity.ts
- create-squeeze.mapper.ts
- squeeze.mapper.ts
- squeeze.service.spec.ts
- squeeze.controller.spec.ts
- squeeze.controller.ts
- squeeze.module.ts
- squeeze.service.spec.ts
- squeeze.service.ts
- get-all-subscription-error.dto.ts
- get-all-subscription-response.dto.ts
- subscription.entity.ts
- subscriptions.controller.ts
- subscriptions.module.ts
- subscriptions.service.spec.ts
- subscriptions.service.ts
- create-team.dto.ts
- team.response.dto.ts
- update-team.dto.ts
- team.entity.ts
- teams.service.spec.ts
- teams.controller.ts
- teams.module.ts
- teams.service.ts
- create-testimonial-response.dto.ts
- create-testimonial.dto.ts
- get-testimonials.dto.ts
- update-testimonial.dto.ts
- update-testimonial.response.dto.ts
- testimonials.entity.ts
- testimonial-response.interface.ts
- testimonials.interface.ts
- testimonial-response.mapper.ts
- testimonial.mapper.ts
- testimonials.mock.ts
- testimonials.service.spec.ts
- update.service.spec.ts
- testimonials.controller.ts
- testimonials.module.ts
- testimonials.service.ts
- create-timezone.dto.ts
- update-timezone.dto.ts
- timezone.entity.ts
- timezones.controller.spec.ts
- timezones.controller.ts
- timezones.module.ts
- timezones.service.spec.ts
- timezones.service.ts
- translation.service.ts
- deactivate-account.dto.ts
- get-user-data-by-id-response.dto.ts
- get-user-stats-response.dto.ts
- reactivate-account.dto.ts
- update-user-dto.ts
- update-user-response.dto.ts
- update-user-status-response.dto.ts
- update-user-status.dto.ts
- user-data-export.dto.ts
- user-response.dto.ts
- user.entity.ts
- user-payload.interface.ts
- UserInterface.ts
- CreateNewUserOptions.ts
- UpdateUserRecordOption.ts
- UserIdentifierOptions.ts
- user.mock.ts
- reactivate-user.service.spec.ts
- user.service.spec.ts
- user.controller.ts
- user.module.ts
- user.service.ts
- waitlist-swagger.docs.ts
- create-waitlist-response.dto.ts
- create-waitlist.dto.ts
- get-waitlist.dto.ts
- waitlist-error-response.dto.ts
- waitlist.entity.ts
- waitlist.service.spec.ts
- waitlist.controller.ts
- waitlist.module.ts
- waitlist.service.ts
- python.py
- requirements.txt
- run-tests.controller.ts
- run-tests.module.ts
- run-tests.service.spec.ts
- run-tests.service.ts
- app-constants.ts
- contactHelper.ts
- SystemMessages.ts
- createRecordGeneric.ts
- custom-http-filter.ts
- exceptionHandler.ts
- fileHelpers.ts
- http-exception-filter.ts
- pick.ts
- skipAuth.ts
- UpdateRecordGeneric.ts
- response.interceptor.ts
- testUserId.jpg
- testUserId.jpg
- generate-token.ts
- app.e2e.spec.ts
- app.module.ts
- health.controller.ts
- main.ts
- probe.controller.ts
- jest-e2e.json
- testUserId.jpg
- .dockerignore
- .env.example
- .env.local
- .eslint.rc
- .eslintrc.js
- .gitignore
- .nvmrc
- .prettierignore
- .prettierrc
- commitlint.config.js
- deployment.sh
- dev-ecosystem-config.json
- Dockerfile
- eslint.config.js
- LICENSE
- local repo
- main-ecosystem-config.json
- nest-cli.json
- package-lock.json
- package.json
- README.md
- setup-guide.md
- staging-ecosystem-config.json
- start_server.sh
- tsconfig.build.json
- tsconfig.json
# Installation Guide
1. Get the code
git clone https://github.com/hngprojects/hng_boilerplate_nestjs
Downloads the entire project code from GitHub to your computer.
cd hng_boilerplate_nestjs
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f compose/compose.dev.yaml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
npm run test
Type this command into your terminal and run it.
npm install
Downloads and installs the libraries listed in package.json.
npm run build
Builds optimized production files.
npm run dev
Starts the development/run server.
npm run start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
4. Python
EasyPrerequisites
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
pip install -r src/run-tests/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
