How katherine606/pruebafullstack works
PruebaFullStack is a feedback-management web app with a React frontend and an ASP.NET API. Users can log in, browse feedback, create entries, vote, and change feedback status; the API persists users, feedback, and votes through Entity Framework. The sampled code confirms the backend authentication and feedback call chains, and the frontend route mapping. Frontend API-service wiring and database configuration were not sampled, so those connections are omitted.
Main entry points: App.tsx React app · AppDbContext.cs EF context · FeedbackService.cs Feedback rules · AuthService.cs Credential validation
Components 19
Web frontend
- React app
frontend/src/App.tsx - Login screen
frontend/src/components/Login.tsx - Feedback list
frontend/src/components/ListaFeedbacks.tsx - Feedback detail
frontend/src/components/FeedbackDetail.tsx - Feedback card
frontend/src/components/FeedbackCard.tsx - Create feedback
frontend/src/components/ModalCrearFeedback.tsx - API client
frontend/src/services/api.ts - Login client
frontend/src/services/login.ts - Feedback client
frontend/src/services/feedback.ts
Authentication
- Auth endpoint
PruebaFullStack/Controllers/AuthController.cs - Credential validation
PruebaFullStack/Services/AuthService.cs - User lookup
PruebaFullStack/Repositories/AuthRepository.cs
Feedback workflows
- Feedback endpoints
PruebaFullStack/Controllers/FeedbackController.cs - Feedback rules
PruebaFullStack/Services/FeedbackService.cs
Persistence
- Feedback storage
PruebaFullStack/Repositories/FeedbackRepository.cs - Vote storage
PruebaFullStack/Repositories/VotoRepository.cs - EF context
PruebaFullStack/Models/AppDbContext.cs - Application database
Other components
- User
Connections 13
- User → React app: uses
- React app → Login screen: routes
- React app → Feedback list: routes
- React app → Feedback detail: routes
- Auth endpoint → Credential validation: validates credentials
- Credential validation → User lookup: looks up user
- User lookup → EF context: queries users
- EF context → Application database: persists data
- Feedback endpoints → Feedback rules: handles requests
- Feedback rules → Feedback storage: reads and updates
- Feedback rules → Vote storage: checks vote
- Feedback storage → EF context: reads and writes feedback
- Vote storage → EF context: reads and writes votes