Centro Académico Político
E-learning platform with separate modules for admins, teachers and students, role-based access and course management.
- Client
- Centro Académico Político
- Year
- 2024 – 2025
- Service
- Apps and software
- Role
- Full-stack technical lead
- Format
- Web platform
- Status
- In production

Courses, teachers and students on a single platform.
Centro Académico Político needed a portal where teachers could manage their courses, students could follow their progress and grades, and admins could control users and roles.
A portal with three modules and role-based access.
We built the portal in Next.js 15 with three independent modules (admin, teacher and student), authentication with NextAuth v5 and Google, and role-based permissions.
Teachers create and manage courses with their students' activity history, students see their progress and grades, and admins manage users, roles and statistics from a central dashboard. Data is read and written with Server Actions and Prisma, with no intermediate REST API.
What it includes
Teacher module
Course management, student activity history, progress reports and evaluation tools.
Student module
Available courses, progress tracking, grades and learning history.
Admin module
User and role management with granular permissions, system settings and a statistics dashboard.
Multi-provider sign-in
NextAuth v5 with Google, sign-up, sign-in, password recovery and automatic token refresh.
Server Actions with Prisma
Direct server-client communication, with no intermediate REST API.
Responsive design
Reusable components with Tailwind CSS, a layout that adapts to every screen, a top menu and the corporate palette.
Stack and architecture
- Next.js 15
- TypeScript
- React Server Actions
- Tailwind CSS
- Prisma
- PostgreSQL
- NextAuth v5
- Vercel
- Frontend
- Next.js 15 with Tailwind CSS and reusable components in each module.
- Backend
- Server Actions with Prisma over PostgreSQL for every data operation, with strict typing.
- Integrations
- NextAuth v5 with Google OAuth, JWT tokens with automatic refresh and routes protected per module.
- Infrastructure
- Deployed on Vercel, with TypeScript and ESLint.
What we solved
Secure multi-provider authentication
NextAuth v5 set up from the base, with Google OAuth, JWT tokens with automatic refresh, and trusted hosts and environment variables for production.
Modular architecture
Three independent modules (admin, teacher and student) without coupling, with role-based permissions in the Server Actions and NextAuth middleware protecting the routes.
Performance and refactoring
Layouts refactored to remove unnecessary animations, and Server Actions with Prisma instead of REST to reduce latency in CRUD operations.
In detail
- Independent modules
- 3
- Access control
- RBAC


