- Firebase project with an active Firestore Database, and enabled Google, GitHub, and Email & Password authentication methods.
- Access your GitHub developer account.
- Novu account with an API Key.
- Novu Framework
- Clone the repository
- Install the project dependences
npm install
- Create a Firebase project and activate the Google, GitHub, and Email & Password authentication methods.
- You can get your GitHub client ID and secret ID here.
- Activate Firestore Database for the Firebase project.
- Copy your Firebase configuration code into the
firebase.ts
file.const firebaseConfig = { apiKey: "", authDomain: "", projectId: "", storageBucket: "", messagingSenderId: "52130823024", appId: "", measurementId: "" };
- Create an
.env.local
file and copy your Novu API key into the file.NOVU_API_KEY=<YOUR_NOVU_API_KEY> NEXT_PUBLIC_NOVU_API_KEY=<YOUR_NOVU_API_KEY>
- Start the development server by running the code snippet below.
npm run dev
- Set up Dev Studio and the workflow URL is
<your_unique_url>/api/email
npx novu-labs@latest echo
- Ensure, you have set up an Email service provider on your Novu dashboard