Agent skill · software engineering · aj-geddes

nodejs-express-server

Build production-ready Express.js servers with middleware, authentication, routing, and database integration. Use when creating REST APIs, managing requests/responses, implementing middleware chains, and handling server logic.

Why this skill is useful

Provides specific patterns for building REST APIs with Express.js, including middleware and authentication that the AI wouldn't reliably generate on its own.

What it needs

Requires node installed locally. About 2k tokens when loaded. Last updated 2026-03-04. 307 stars on the source repository.

What this skill does

Node.js Express Server Table of Contents Overview When to Use Quick Start Reference Guides Best Practices Overview Create robust Express.js applications with proper routing, middleware chains, authentication mechanisms, and database integration following industry best practices. When to Use Building REST APIs with Node.js Implementing server-side request handling Creating middleware chains for cross-cutting concerns Managing authentication and authorization Connecting to databases from Node.js Implementing error handling and logging Quick Start Minimal working example: Reference Guides Detailed implementations in the references/ directory: Guide Contents --- --- Basic Express Setup Basic Express Setup Middleware Chain Implementation Middleware Chain Implementation Database Integration (PostgreSQL with Sequelize) Database Integration (PostgreSQL with Sequelize) Authentication with JWT Authentication with JWT RESTful Routes with CRUD Operations RESTful Routes with CRUD Operations Error Handling Middleware Error Handling Middleware Environment Configuration Environment Configuration Best Practices ✅ DO Use middleware for cross-cutting concerns Implement proper error handling Validate input data before processing Use async/await for async operations Implement authentication on protected routes Use environment variables for configuration Add logging and monitoring Use HTTPS in production Implement rate limiting Keep route handlers focused and small ❌ DON'T Handle errors silently Store sensitive data in code Use synchronous operations in routes Forget to validate user input Implement authentication in route handlers Use callback hell (use promises/async-await) Expose stack traces in production Trust client-side validation only

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aj-geddes/nodejs-express-server

View the source on GitHub

Browse the @skills marketplace