pikku-deploy-express

Deploy Pikku applications on Express via standalone server or middleware.

56|Updated Apr 18, 2021
One-click install
npx skills add https://github.com/pikkujs/pikku --skill pikku-deploy-express
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pikku-deploy-express
Source: https://github.com/pikkujs/pikku/tree/main/.claude/skills/pikku-deploy-express
Command: npx skills add https://github.com/pikkujs/pikku --skill pikku-deploy-express

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploy Pikku applications to Express environments using a supported approach that covers both standalone servers and Express middleware integration.

Core Features & Use Cases

  • Standalone PikkuExpressServer for Express deployments.
  • Express middleware for integrating Pikku into existing Express apps.
  • Clear lifecycle, config, and service wiring to start, stop, and extend functionality.

Quick Start

Install the Pikku Express package and initialize the server or middleware following the example.

Frequently Asked Questions about pikku-deploy-express

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

FAQPage Schema
How do I deploy a Pikku app to an Express server?

You can deploy a Pikku app to an Express server by initializing a standalone PikkuExpressServer. This involves using createConfig for configuration, wiring dependencies with createSingletonServices, and managing the server lifecycle to start and stop the application.

Can I integrate Pikku into an existing Express application?

Yes, you can integrate Pikku into an existing Express application by using the pikkuExpressMiddleware. This middleware allows you to incorporate Pikku services into your current Express setup without needing a standalone server.

What is needed to configure services for a Pikku Express deployment?

Configuring services for a Pikku Express deployment requires using createConfig for setup and createSingletonServices for wiring. These functions ensure the standalone server or Express middleware has the necessary dependencies initialized before startup.

Does the Pikku Express deployment support lifecycle control for startup and shutdown?

Yes, the Pikku Express deployment supports lifecycle control for startup and shutdown. Both the standalone PikkuExpressServer and the Express middleware provide mechanisms to start and stop the app, ensuring proper resource management.

What is the difference between standalone server and middleware deployment for Pikku on Express?

A standalone PikkuExpressServer creates a new Express app for Pikku, while pikkuExpressMiddleware integrates Pikku into an existing Express application. Both approaches use createConfig and createSingletonServices for configuration and service wiring.