### Install project dependencies Source: https://github.com/resend/resend-nextjs-app-router-example/blob/main/readme.md Installs the necessary npm packages for the Next.js project. This ensures that all required libraries and modules are available for the application to run correctly. ```sh npm install # or yarn ``` -------------------------------- ### Copy environment variables example file Source: https://github.com/resend/resend-nextjs-app-router-example/blob/main/readme.md Copies the .env.example file to .env to set up environment variables for the project. This allows you to configure settings like the Resend API key. ```sh cp .env.example .env ``` -------------------------------- ### Run Next.js development server Source: https://github.com/resend/resend-nextjs-app-router-example/blob/main/readme.md Starts the Next.js development server locally. This allows you to preview and test the application in a development environment. ```sh npm run dev ``` -------------------------------- ### Send email using curl Source: https://github.com/resend/resend-nextjs-app-router-example/blob/main/readme.md Sends a POST request to the /api/send endpoint to trigger an email sending process. This demonstrates how to interact with the API to send emails using Resend. ```sh curl -X POST http://localhost:3000/api/send ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.