This project is a business card parser that leverages AI to extract information from business cards and store it in a structured format. It showcases a combination of backend, DevOps, and AI skills.
- Upload Business Card Images: Users can upload images of business cards.
- AI-Powered Information Extraction: The application uses AI to parse the uploaded images and extract key information such as name, title, company, phone number, email, and website.
- Google Sheets Integration: The extracted information is automatically saved to a Google Sheet for easy access and management.
- Cloud-Native Deployment: The application is designed to be deployed on Google Cloud Platform using Docker and Google Cloud Build.
- Frontend: Next.js, React, TypeScript, Tailwind CSS
- Backend: Next.js API Routes, Node.js
- AI: OpenAI Vision for image parsing
- Database: Google Sheets
- DevOps: Docker, Google Cloud Build, Google Cloud Run
- Node.js
- pnpm
- Google Cloud SDK
- Clone the repository:
git clone https://github.com/your-username/business-card-parser.git
- Install the dependencies:
pnpm install
- Set up your environment variables by copying
.env.exampleto.envand filling in the required values. - Run the development server:
pnpm dev
The application can be deployed to Google Cloud Run using the provided cloudbuild.yaml file.
app/: Contains the Next.js application code.app/api/: Contains the API routes for handling file uploads, AI processing, and Google Sheets integration.components/: Contains the React components used in the application.lib/: Contains the core logic for interacting with Google APIs and OpenAI.cloudbuild.yaml: Configuration file for Google Cloud Build.Dockerfile: Dockerfile for building the application container.