How nkhang1234/nest_exercise_mobile works
Project type and purpose
• This is a NestJS-based server-side application written in TypeScript.
• It exposes RESTful endpoints for user authentication (“auth” module), category management (“category” module), and wallet management (“wallet” module).
• It persists data in a relational database via Prisma ORM and uses JWT for auth.
File structure
• Top-level ingredients:
• Dockerfile & docker-compose.yml (containerization)
• .github/workflows/cicd.yml (CI/CD pipeline)
• prisma/ (schema, migrations, seed script)
• src/ (application code in modules)
• test/ (e2e suites)
• Inside src/:
• app.module.ts – root application module wiring submodules
• auth/ – controller, service, DTOs, guards, strategies (JWT)
• category/ – CRUD controller + service + DTOs
• wallet/ – CRUD controller + service + DTOs
• prisma/ – PrismaModule & PrismaService (DB client wrapper)
• main.ts – NestJS bootstrap entry point
Key README insights
• Standard NestJS starter, no frontend present.
• Emphasis on efficient & scalable server-side architecture.
• Deployment via NestJS Mau or Docker.