Commit Graph

13 Commits

Author SHA1 Message Date
Mireya d0a3d445e1 Edit docker-compose.yml 2026-05-12 11:06:19 +00:00
Mireya 35bfc889d0 Edit docker-compose.yml 2026-05-11 09:25:39 +00:00
Mireya Cueto Garrido 1dd1096744 feat: enhance error handling and configuration in backend
- Added ORCID_REDIRECT_URI to docker-compose for OAuth callback.
- Refactored CORS and trusted hosts settings in configuration for better clarity.
- Introduced a new function to validate publication IDs and provide explicit error messages for researcher IDs.
- Updated rate limiting strategy to simplify configuration.
- Improved security headers middleware to safely remove sensitive headers.
2026-05-08 12:13:05 +02:00
Mireya Cueto Garrido af1b8e9956 feat: enhance backend security and configuration
- Updated Dockerfile to improve security with a non-root user and added health checks.
- Modified docker-compose.yml to set containers as read-only, restrict ports to localhost, and implement health checks.
- Enhanced .env.example with additional environment variables for security and configuration.
- Improved FastAPI application with middleware for security headers, CORS, and body size limits.
- Refactored authentication flow in auth.py to include state validation and improved error handling.
- Added rate limiting to various endpoints to prevent abuse.
- Updated researcher and publication handling to ensure better validation and error management.
2026-05-08 11:19:52 +02:00
Alexis 104070159a fix: update ORCID_REDIRECT_URI and enhance OAuth callback handling
- Changed ORCID_REDIRECT_URI in docker-compose for updated ngrok URL.
- Allowed all hosts in vite.config.js to support HTTPS tunnels during OAuth flows.
- Improved handling of OAuth codes in AuthCallbackPage to prevent duplicate exchanges.
- Added function to fetch ORCID display names to enrich researcher data in API service.
2026-05-07 12:25:02 +02:00
Mireya Cueto Garrido f764b48a44 Merge pull request #10 from uja-dev-practices/feature/backend-v4
feat: implement ORCID OAuth callback and update environment configura…
2026-04-29 12:20:24 +02:00
Mireya Cueto Garrido b49152946e feat: implement ORCID OAuth callback and update environment configuration
- Added ORCID_REDIRECT_URI to docker-compose for OAuth integration.
- Introduced a new callback endpoint to handle ORCID login and token exchange.
- Refactored authentication logic to streamline the OAuth process.
- Ensured local environment variables are loaded for development.
2026-04-29 12:19:41 +02:00
Alexis f8241f7607 feat: implement unified researcher search and enhance dashboard functionality
- Updated the API service to include a new `searchResearcher` function for streamlined researcher data retrieval.
- Modified `LandingPage` to utilize the new search functionality, reducing the number of API calls.
- Refactored `DashboardPage` to handle the new data structure returned from the search, improving loading efficiency and user experience.
- Enhanced `vite.config.js` and `.env.example` for better API integration and development setup.
- Added health checks in `docker-compose.yml` for database and Redis services to ensure service reliability.
2026-04-29 10:16:26 +02:00
Mireya Cueto Garrido c0eb0d3916 refactor: update researcher API endpoints to include batch search and statistics functionality
- Removed deprecated search logic and replaced it with a new structure for handling researcher statistics.
- Introduced new schemas for batch search requests and responses.
- Enhanced the search endpoint to return publication statistics alongside researcher data.
- Updated docker-compose file to remove unnecessary versioning.
2026-04-28 09:41:45 +02:00
Mireya Cueto Garrido 60cb036f3e env update 2026-04-27 13:52:58 +02:00
Mireya Cueto Garrido 96f01c0126 Versión 3 Backend - Endpoints finales corregidos 2026-04-27 13:39:32 +02:00
Mireya Cueto Garrido 7717e2a5b2 feat: initialize frontend with React and Vite setup
- Add main application structure with App component
- Implement state management for counter functionality
- Create CSS styles for application layout and components
- Include assets for logos and hero image
- Set up Vite configuration for development environment
- Establish global CSS variables for theming
2026-04-16 09:55:10 +02:00
Mireya Cueto Garrido 1b7214d96c Initialize backend and frontend structure with Docker setup and dependencies 2026-04-16 09:12:00 +02:00