The Transcriptify backend provides the necessary endpoints and services to power the frontend transcription application. Built using Node.js and Express, it integrates with IBM Watson for transcription, DynamoDB for data storage, FFmpeg for media processing, and OpenAI for content elaboration.
- Transcription Service: Uses IBM Watson to convert uploaded audio and video files into text.
- Database: Storing user data and transcriptions with DynamoDB.
- Media Processing: Utilizes FFmpeg for efficient audio and video processing.
- Content Elaboration: Leverages the power of OpenAI to summarize or elaborate on transcriptions.
- Node.js and npm (Ensure they're installed on your machine)
.envfile with necessary environment variables for the various services used.
To get the backend up and running locally, follow these steps:
-
Navigate to the server directory:
cd server -
Install Dependencies:
npm install
-
Run the Server:
node index.js
or
node .
Your backend server should now be running. Ensure you have the .env file set up in the server directory with all the required keys for IBM Watson, DynamoDB, FFmpeg, and OpenAI.
- Node.js - A JavaScript runtime built on Chrome's V8 JavaScript engine.
- Express.js - A fast, unopinionated, minimalist web framework for Node.js.
- IBM Watson - AI-driven services to transcribe audio and video.
- DynamoDB - A fully managed proprietary NoSQL database service.
- FFmpeg - A solution to record, convert, and stream audio and video.
- OpenAI - AI-driven content elaboration and manipulation.
Ensure your .env file contains the following keys:
WATSON_API_KEY=YOUR_KEY
WATSON_SERVICE_URL=YOUR_URL
PORT=YOUR_PORT
AWS_ACCESS_KEY_ID=YOUR_KEY
AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY
AWS_REGION=YOUR_REGION
ORGANIZATION_KEY=org-YOUR_OPEN_AI_KEY
OPENAI_API_KEY=sk-YOUR_OPEN_AI_KEY