How kascencio/jobsy-main works
Project type and purpose
• This is a full-stack Next.js application (using the App Router) that implements a multi-role job-posting and recruitment platform.
• The README confirms it’s a Next.js app bootstrapped with create-next-app and intended for browser users, with built-in routing, API endpoints, and Prisma for database access.
File structure
• Top-level config files: next.config.mjs, tsconfig.json, tailwind.config.js, .env, Prisma schema and migrations under prisma/.
• src/app: the Next.js App Router directory. It contains both page.tsx files for UI routes and nested src/app/api for serverless API routes.
• src/app/api: subdivided into role-based segments (auth, candidato, reclutador, moderador…), each with route.ts handlers.
• src/components: shared UI components, grouped by role (candidato, reclutador, moderador).
• src/lib: utility modules for Prisma client instantiation and Google OAuth client.
• src/utils and src/types add reusable helpers and TypeScript definitions.
README for additional insights
• It highlights Next.js, NextAuth (via [...nextauth]), and automatic font optimization.
Detail
• Feature-based API routes (auth, candidato, reclutador, moderador).
• Prisma schema layer and migration directory as part of the DB component.
• Static asset serving (public/) and build/deployment on Vercel.