Skip to content

[Backend] Declare dotenv: data-source.ts imports dotenv/config without declaring it #1389

Closed

Description

@BigBen-7

Found in a repository audit of main (b472e6b). The facts below were checked against that commit.

Problem

Backend/src/database/data-source.ts starts with import 'dotenv/config' (used by the TypeORM CLI migration scripts), but dotenv is not declared in package.json; depcheck reports it as missing.

Fix

Add dotenv to dependencies (or devDependencies if only used by CLI scripts).

Acceptance criteria

  • npm run migration:run still works from a clean npm ci
  • depcheck no longer lists dotenv

Notes

Scope: Light (about half a day or less). Location: Backend/package.json.

Activity

  1. ranjeetprabhatedu-dotcom commented on Oct 14, 2026

    @ranjeetprabhatedu-dotcom

    Hello maintainers,

    I reviewed "[Backend] Declare dotenv: data-source.ts imports dotenv/config without declaring it" and would like to work on this.

    Technical Implementation Outline:

    1. Audit route handlers, DTO validation schemas, and database transaction boundaries in data-source.ts.
    2. Implement resilient controller/service logic with idempotency and typed error handling.
    3. Add comprehensive API unit and integration tests.
    4. Verify database queries and schema integrity remain optimal.

    Please assign this issue to me. I will submit a clean, well-tested, and production-ready PR promptly!

  2. TheShnider commented on Oct 15, 2026

    @TheShnider

    @TheShnider has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi, I have reviewed this issue and would like to work on it

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @TheShnider to this issue.

  3. monique-7arch commented on Oct 15, 2026

    @monique-7arch
    Contributor

    @monique-7arch has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hello, I'd like to pick this issue up.

    I have hands-on experience with backend development, databases, and API design, as well as frontend work with React and modern CSS. I write tested, maintainable code and enjoy contributing to open source projects.

    I've gone through the details of this issue and I'm confident I can deliver a clean, well-tested solution that fits the codebase.

    I'd appreciate being assigned to this issue and look forward to contributing.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @monique-7arch to this issue.

  4. drips-wave commented on Oct 15, 2026

    @drips-wave

    Congratulations, @monique-7arch! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @monique-7arch: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  5. grantfox-oss commented on Oct 15, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @monique-7arch's PR #1512 was approved and merged by @BigBen-7.

    🏆 @monique-7arch: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (818 total points). Track your full progress on GrantFox.

    👏 Great work, @monique-7arch! Keep contributing to PinSpace-Org.

  6. drips-wave commented on Oct 15, 2026

    @drips-wave

    This issue has been completed by @monique-7arch as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @monique-7arch: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BackendBackend issuesStellar WaveIssues in the Stellar wave programdependenciesDependency changes

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions