Skip to content

Conversation

@kasliwaldv
Copy link

No description provided.

claude and others added 3 commits November 18, 2025 17:49
- Add PostgreSQL database ER diagram with 17 tables
- Add REST API design with 70+ endpoints
- Add comprehensive project estimation (8 months, $100K budget)
- Create migration directory structure for React + FastAPI
Backend (FastAPI):
- Core configuration and database setup
- SQLAlchemy models for all 17 tables (users, projects, fittings, phases, atoms, datasets, calculations, parameters, constraints, files, history)
- Pydantic schemas for request/response validation
- Service layer wrapping original pdfGUI logic unchanged:
  - FittingService (refinement workflows)
  - StructureService (crystal structure operations)
  - DatasetService (PDF data handling)
  - ConstraintService (formula parsing/evaluation)
  - FileService (upload/parsing)
  - AuthService (JWT + bcrypt authentication)
- REST API endpoints for all CRUD operations
- Main FastAPI application with CORS

Frontend (React):
- TypeScript types for JSON-driven forms and charts
- DynamicForm component with Zod validation
- Wizard component for multi-step workflows
- PDFPlot component using Plotly
- JSON form schemas (fitting wizard)
- Chart template configurations
- API client service with auth interceptors
- Zustand auth store with persist
- React Router setup with protected routes

Tests:
- Pytest configuration with fixtures
- Numerical regression tests matching original pdfGUI:
  - Grid interpolation (15 decimal precision)
  - Constraint evaluation
  - Structure operations
  - Dataset operations
  - Project loading
- API endpoint tests

Documentation:
- Complete requirements gap analysis (10-pass review)
- 70% overall completion with clear path to 100%
@github-actions
Copy link

Warning! No news item is found for this PR. If this is a user-facing
change/feature/fix,
please add a news item by copying the format from news/TEMPLATE.rst.
For best practices, please visit
https://scikit-package.github.io/scikit-package/snippets/news-file-format.html#how-do-i-create-a-news-file.

@kasliwaldv kasliwaldv closed this Nov 19, 2025
@kasliwaldv kasliwaldv deleted the claude/pdfgui-react-fastapi-migration-01EJeGsXN6q5Yx1PAvaNkRVo branch November 19, 2025 01:57
@kasliwaldv kasliwaldv changed the title Claude/pdfgui react fastapi migration 01 e je gs xn6q5 yx1 p ava nk r vo pls ignore Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants