Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/upgrades #27

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
arxiv-metadata-oai-snapshot.json
arxiv-papers-1000.json
arxiv.zip
*.DS_STORE
*.log
.env
.ipynb_checkpoints
*.pkl
.venv
venv
__pycache__
new_backend/arxivsearch/templates/
*/.nvm
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: FastAPI",
"type": "debugpy",
"cwd": "${workspaceFolder}/backend/",
"env": {
"PYTHONPATH": "${cwd}"
},
"request": "launch",
"module": "uvicorn",
"args": [
"arxivsearch.main:app",
"--port=8888",
"--reload"
],
"jinja": true,
}
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"python.testing.pytestArgs": [],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.cwd": "${workspaceFolder}/backend/",
}
8 changes: 8 additions & 0 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Python
__pycache__
app.egg-info
*.pyc
.mypy_cache
.coverage
htmlcov
.venv
Empty file added backend/README.md
Empty file.
Empty file added backend/__init__.py
Empty file.
6 changes: 6 additions & 0 deletions backend/arxivsearch/api/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from fastapi import APIRouter

from arxivsearch.api.routes import papers

api_router = APIRouter()
api_router.include_router(papers.router, prefix="/papers", tags=["papers"])
230 changes: 0 additions & 230 deletions backend/arxivsearch/api/routes.py

This file was deleted.

Empty file.
Loading