Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 512 Bytes

README.md

File metadata and controls

24 lines (22 loc) · 512 Bytes

Test the Application

  • Add API keys to a .env file in your project
GEMINI_API_KEY=[YOUR GEMINI API KEY]
SENDGRID_API_KEY=[YOUR SENDGRID API KEY]
  • Set the Sender and Recipient email in server.js:
app.post("/send-email",(req, res) => {
    transporter.sendMail({
        from: "[SENDER EMAIL]",
        to: "[RECIPIENT EMAIL]",
  • Run the backend, in the root directory
npm install
npx nodemon server.js
  • Run the react frontend in another terminal:
npm start