-
-
Notifications
You must be signed in to change notification settings - Fork 2
Contributing
github-actions[bot] edited this page Jan 3, 2026
·
1 revision
Thank you for your interest in contributing to nestjs-firebase-auth!
-
Clone the repository:
git clone https://github.com/Alpha018/nestjs-firebase-auth.git cd nestjs-firebase-auth -
Install dependencies:
npm install
We use Jest for both unit and end-to-end tests.
Run the unit test suite:
npm run testE2E tests interact with a real Firebase project. To run them, you need to configure your environment variables.
Required Environment Variables:
-
FIREBASE_SERVICE_ACCOUNT_BASE64: Base64 encoded Service Account JSON. -
FIREBASE_CLIENT_BASE64: Base64 encoded Client Config (used to initialize the client SDK in tests). -
FIREBASE_TEST_USER: The UID of a test user in your Firebase project.
Running E2E Tests:
npm run test:e2e-
Fork the repository and create your branch from
master. -
Follow code style: We use Prettier and ESLint. Run
npm run lintandnpm run formatto ensure compliance. - Add Tests: Please include unit or E2E tests for any new features or bug fixes.
- Commit Messages: We follow Conventional Commits.
-
Build:
npm run build -
Lint:
npm run lint -
Format:
npm run format
GitHub Repository | Issues | Releases
If you find this project useful, you can support it by buying me a coffee ☕️. If you can't contribute financially, a ⭐ on the repo is also greatly appreciated!
MIT License © 2024 Tomás Alegre