aj-geddes avatar

Nodejs Express Server

This one gives you production-grade Express.js setup with all the pieces you actually need: routing, middleware chains, JWT authentication, error handling, and database integration with Sequelize. The reference guides cover the full stack from basic setup through PostgreSQL connections and RESTful CRUD operations. What I like here is the opinionated best practices section that pushes you toward async/await over callbacks and proper error middleware instead of silent failures. If you're spinning up a new Node API or refactoring an existing one to follow modern patterns, this gets you past the boilerplate fast. The quick start example is minimal enough to understand but includes error handling and health checks you'd want anyway.

skills.sh installs
3.3K
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill nodejs-express-server --agent claude-code

Installs into .claude/skills of the current project.

Files

Node.js Express Server

Table of Contents

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:

const express = require("express");
const app = express();
const PORT = process.env.PORT || 3000;

// Middleware
app.use(express.json());
app.use(express.urlencoded({ extended: true }));

// Routes
app.get("/health", (req, res) => {
  res.json({ status: "OK", timestamp: new Date().toISOString() });
});

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Backend & APIs, Security, DevOps & CI/CD, AI & Agent Building, Databases

More from aj-geddes/useful-ai-prompts

All 258
1netlify avatarnetlify-ai-gatewaynetlify/context-and-toolsReference for Netlify AI Gateway — the managed proxy that routes calls to OpenAI, Anthropic, and Google Gemini SDKs without provider API keys. Use this skill an3.3Kskills.sh installs
2netlify avatarnetlify-databasenetlify/context-and-toolsGuide for using Netlify Database — the GA managed Postgres product built into Netlify. Use when a project needs any kind of dynamic, structured, or relational d3.1Kskills.sh installs
3apollographql avatarapollo-serverapollographql/skillsGuide for building GraphQL servers with Apollo Server 5.x. Use this skill when: (1) setting up a new Apollo Server project, (2) writing resolvers or defining Gr3.1Kskills.sh installs
4davila7 avatarsenior-backenddavila7/claude-code-templatesComprehensive backend development skill for building scalable backend systems using NodeJS, Express, Go, Python, Postgres, GraphQL, REST APIs. Includes API scaf2.7Kskills.sh installs
5mrgoonie avatarbackend-developmentmrgoonie/claudekit-skillsBuild robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis),2.3Kskills.sh installs
6google-deepmind avatarquickgo-databasegoogle-deepmind/science-skillsQuery the QuickGO and Evidence & Conclusion Ontology (ECO) REST API. Use this when you need to map genes to biological processes, molecular functions, or cellul2.2Kskills.sh installs