Skip to content

Adan-Asim/W2-Form-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

W2-FORM-CHAT

Overview

This project is a full-stack application using Flask and Python for the backend and Next.js powered by React for the frontend. It allows users to upload files and interact with the file data through a series of queries. The interface is styled with Tailwind CSS for a responsive design, along with html and css.

Features

  • Allow users to signup/login on the App.
  • Allow users to upload files in any format like pdf, jpg, jpeg etc.
  • Allow data querying to answer user questions based on file data.
  • Maintain record of previous user data including files and chat histories as well.
  • Have encryption for storing file data securely in DB and also show sensitive data after password confirmation.
  • Fully Responsive web interface using Next.js and Tailwind CSS.

Technology Stack

  • Backend: Flask, Python
  • Frontend: Next.js, React, Tailwind CSS, TS
  • Database: PostgreSQL, SQLAlchemy
  • LLMs: ChatGPT gpt-3.5, Gorq (llama)
  • OCR and supporting Libraries: pdf2image, pytesseract, PIL, Werkzeug, cryptography, base64, pandas, textract

Getting Started

Prerequisites

Ensure you have the following installed:

  • Docker
  • Node.js (version 14 or higher)
  • Python (version 3.9 or higher)

Setup Instructions

Backend Setup

Navigate to the backend directory:

cd backend

Install Python dependencies:

pip install -r requirements.txt

Start the backend server:

flask run

Frontend Setup

Navigate to the frontend directory:

cd frontend

Install JavaScript dependencies:

npm install

Run the development server:

npm run dev

Using Docker

To run the entire application using Docker:

docker-compose up --build

Deployment

Deployed on following URL: https://form-chat-frontend-aw3wvc3u4-adans-projects-962d6816.vercel.app/

Usage

You just need to signup and then can start using the app.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Can be used to chat with W2 Forms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published