serinus-application-bootstrap

Automate Serinus application setup with createApplication and startup configuration.

108|11|Updated Jan 25, 2023
One-click install
npx skills add https://github.com/francescovallone/serinus --skill serinus-application-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: serinus-application-bootstrap
Source: https://github.com/francescovallone/serinus/tree/main/packages/serinus/skills/serinus-application-bootstrap
Command: npx skills add https://github.com/francescovallone/serinus --skill serinus-application-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Bootstrapping a Serinus app across projects requires coordinating startup entrypoints, host/port, route prefix, and versioning while wiring global hooks, pipes, and exception filters. This skill provides a centralized pattern to create or update the application entrypoint using serinus.createApplication() or serinus.createMinimalApplication(), ensuring these configurations are applied before serving.

Core Features & Use Cases

  • Centralized startup configuration via serinus.createApplication(entrypoint: AppModule()) or createMinimalApplication()
  • Apply host/port, globalPrefix, and versioning settings before calling serve()
  • Inject global hooks, pipes, and exception filters in a controlled bootstrap flow
  • Adapt bootstrap for both module-based apps and minimal-route-first configurations

Quick Start

Create and bootstrap the Serinus app using serinus.createApplication(entrypoint: AppModule(), host: '0.0.0.0', port: 3000), then configure globalPrefix and versioning before invoking serve().

Frequently Asked Questions about serinus-application-bootstrap

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

FAQPage Schema
How do I configure a Serinus application bootstrap with host, port, and global prefix?

Bootstrapping a Serinus application requires coordinating startup entrypoints, host/port configuration, globalPrefix, and versioning. This process centralizes these settings using serinus.createApplication() before calling serve().

What is the difference between createApplication and createMinimalApplication in Serinus startup?

Use serinus.createApplication() for module-based apps and serinus.createMinimalApplication() for minimal-route-first configurations. Both provide safe defaults and standardized entrypoints for bootstrapping.

Can I inject global hooks, pipes, and exception filters during Serinus app bootstrapping?

Yes, you can inject global hooks, pipes, and exception filters during Serinus app bootstrapping. This ensures a controlled bootstrap flow with clear separation of concerns before serve() is called.

How do I set up API versioning and routing prefixes for a new Serinus project?

To set up API versioning and routing prefixes for a Serinus project, use the centralized startup configuration pattern. Apply globalPrefix and versioning settings after createApplication() but before invoking serve().

Does this Serinus bootstrap pattern work for existing codebases or only new projects?

The Serinus bootstrap pattern works for both new projects and existing codebases. It updates the application entrypoint to ensure standardized startup configuration and safe defaults are applied consistently.