Skip to content

JamsheedMistri/mern-pdf-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MERN PDF Chat

MERN PDF Chat is a web application that allows users to upload PDFs, view them, and chat with them. It uses ChatGPT 3.5-Turbo via the OpenAI API to understand the PDF's text, and has a user-friendly UI that allows users to interact with the PDF like a chat bot. This README provides instructions for setting up and running both the frontend and backend components of the application.

Backend Setup and Running

  1. Install the required dependencies:
cd backend
npm install
  1. Set up environment variables by creating a .env file and populating it with the necessary values. Example file can be found in backend/.env.example.

  2. Start the backend server:

npm start

The backend server will run at localhost:8000.

Note: Make sure you have MongoDB set up and running.

Frontend Setup and Running

  1. Install the required dependencies:
cd frontend
npm install
  1. Start the frontend server:
npm start

The frontend server will run at localhost:3000. You can access the running application by opening this URL in your web browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published