Skip to content

Anish-Gupta1/claude_api_mailwizard-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude MailWizard Backend

Overview

Claude MailWizard Backend is a server that facilitates email generation using Anthropic's Claude AI. This backend is required to run locally when using the Anthropic API key for generating email responses.

Prerequisites

Ensure you have the following installed:

  • Node.js (v16 or later recommended)
  • npm or yarn
  • Anthropic API key (store it securely)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/claude-mailwizard-be.git
    cd claude-mailwizard-be
  2. Install dependencies:

    npm install
    # or
    yarn install

Running the Server

Start the backend server with:

npm start
# or
node index.js

If using nodemon for development:

npm run dev

The server will run on http://localhost:3000 by default.

API Endpoints

Generate Email

POST /api/generate

Request Body:

{
  "prompt": "Your input text here"
}

Response:

{
  "generatedEmail": "Your AI-generated email content"
}

About

This repository contains the backend for the MailWizard Claude Response API, a lightweight Express.js server that interacts with Anthropic’s Claude API to generate AI-powered responses for composing professional Gmail emails.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages