bwl-server-project

Implement NestJS modules, API endpoints, and authentication for TypeORM/PostgreSQL backends.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/nccasia/bwl-v2 --skill bwl-server-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bwl-server-project
Source: https://github.com/nccasia/bwl-v2/tree/main/.agents/skills/bwl-server-project
Command: npx skills add https://github.com/nccasia/bwl-v2 --skill bwl-server-project

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit provides a structured way to work with the NestJS backend of the BWL platform, enabling the creation of new modules, API endpoints, authentication, and more.

Core Features & Use Cases

  • Module Creation: Guidance on creating new modules with proper architecture.
  • API Endpoint Addition: Steps to add new API endpoints efficiently.
  • Authentication Implementation: Instructions for implementing authentication and authorization.
  • Testing: Best practices for testing server code.
  • Use Case: A developer needing to quickly add a new user management API endpoint can use this Skill to create a new module with entities, DTOs, services, and a controller, all following established patterns.

Quick Start

To begin working with the BWL server project, navigate to the server directory and run the tests: cd apps/server && pnpm test.

Frequently Asked Questions about bwl-server-project

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new NestJS module with TypeORM entities and DTOs?

To create a NestJS module, you structure it with separate files for entities, DTOs, services, and controllers. This approach follows module-based architecture, ensuring your TypeORM/PostgreSQL application remains organized and maintainable.

What is the best way to add a new API endpoint in a NestJS backend?

The best way to add an API endpoint in a NestJS backend is by extending an existing controller or creating a new module. This ensures the endpoint follows established application patterns and integrates smoothly with your service layer.

How do I implement authentication and authorization in a NestJS application?

Implementing authentication in a NestJS application involves applying established security best practices within your module structure. You configure authorization guards and validation logic to protect your API endpoints.

How do I test server code in a TypeORM and NestJS project?

To test server code in a NestJS project, navigate to the server directory and run the test suite using the command `pnpm test`. Following these testing best practices ensures your modules and API endpoints function correctly.

Can I use this NestJS backend guidance for applications not using PostgreSQL?

This guidance specifically targets applications using TypeORM with a PostgreSQL database. While the module-based architecture applies broadly, the data layer examples assume a TypeORM/PostgreSQL setup.