A web application that allows users to search through research papers using semantic search capabilities. The application consists of a Flask backend API and a React frontend.
.
├── frontend/ # React frontend application
├── search_api/ # Flask backend API
└── data/ # Data storage directory
- Install Python dependencies:
pip install flask flask-cors sentence-transformers huggingface-hub==0.16.4- Start the Flask server:
python search_api/app.pyThe API will be available at http://localhost:5000.
- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install- Start the development server:
npm startThe application will be available at http://localhost:3000.
- Semantic search through research papers
- Real-time search results
- Paper details including title, authors, and abstract
- Links to full papers
- Modern, responsive UI
-
Backend:
- Flask (Python web framework)
- sentence-transformers (for semantic search)
- CORS support
-
Frontend:
- React
- Tailwind CSS
- Modern ES6+ JavaScript
Search for papers based on a query string.
Request body:
{
"query": "your search query"
}Response:
{
"results": [
{
"title": "Paper Title",
"authors": "Author Names",
"abstract": "Paper Abstract",
"year": 2023,
"url": "https://example.com/paper"
}
],
"count": 1
}