diff --git a/Readme.md b/Readme.md index e146971..d88ebfb 100644 --- a/Readme.md +++ b/Readme.md @@ -32,7 +32,7 @@ This project uses Cloudflare Workers as the platform to manage cron jobs. Cloudf ## Verification Mechanism -To ensure secure communication between the cron jobs and the backend, every request is signed with an RSA private key, and the JWT (JSON Web Token) is set in the authorization header. The backend, which uses RDS (Relational Database Service), will then verify the JWT using an RSA public key. +To ensure secure communication between the cron jobs and the backend, every request is signed with an RSA private key, and the JWT (JSON Web Token) is set in the authorization header. The backend will then verify the JWT using an RSA public key. ## How to Set Up Locally @@ -63,7 +63,9 @@ yarn dev ngrok http ``` -Replace `` with the port number your backend is running on (e.g., 3000). 11. Ngrok will generate a public URL (e.g., `https://abc123.ngrok.io`) that forwards requests to your local server. Copy this ngrok URL. 12. Paste the ngrok URL in the "else" part of the Cron Jobs project's `src/config.ts` file, inside the `handleConfig` function. 13. Now set the desired trigger time as mentioned [here](#how-to-set-trigger-time) +Replace `` with the port number your backend is running on (e.g., 3000). +11. Ngrok will generate a public URL (e.g., `https://abc123.ngrok.io`) that forwards requests to your local server. Copy this ngrok URL. 12. Paste the ngrok URL in the "else" part of the Cron Jobs project's `src/config.ts` file, inside the `handleConfig` function. +13. Now set the desired trigger time as mentioned [here](#how-to-set-trigger-time) Now, your backend will get the call at the set time using the public ngrok URL. Remember to keep the backend running with ngrok to ensure the scheduled cron jobs work as intended.