- File Upload: Users can upload research papers in PDF format.
- Data Extraction: Extracts specific information like tRNA, synthetase, and compounds from the uploaded PDFs.
- File Download: Users can download the extracted data in CSV format.
-
Navigate to the project directory.
-
Make sure you have Node.js installed and Python 3.9 or higher.
-
Install the required npm packages:
npm install
-
Run the Frontend and Backend servers:
npm run dev
- Open your web browser and navigate to
http://localhost:3000
for main frontend.
-
Navigate to the project directory.
-
Run the FastAPI server:
npm run fastapi-dev
-
Navigate to the project directory.
-
Install the required npm packages:
npm install
-
Run the Next.js development server:
npm run next-dev
GET /api/hello
: Returns a Hello World message.POST /uploadfiles/
: Accepts file uploads and processes them.GET /download/tRNA/
: Downloads the tRNA data as a CSV.GET /download/synthetase/
: Downloads the synthetase data as a CSV.GET /download/compounds/
: Downloads the compounds data as a CSV.