backend-guide

Complete backend development guide covering Node.js, Python, Go, Java, PHP, databases, APIs, authentication, and server architecture. Use when building server applications, APIs, or backend systems.

16 stars

Best use case

backend-guide is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Complete backend development guide covering Node.js, Python, Go, Java, PHP, databases, APIs, authentication, and server architecture. Use when building server applications, APIs, or backend systems.

Teams using backend-guide should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/backend-guide/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/backend-guide/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/backend-guide/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How backend-guide Compares

Feature / Agentbackend-guideStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Complete backend development guide covering Node.js, Python, Go, Java, PHP, databases, APIs, authentication, and server architecture. Use when building server applications, APIs, or backend systems.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Backend Development Guide

Build scalable, secure, and maintainable backend systems with comprehensive learning resources.

## Quick Start

Choose your backend language journey:

### Node.js (JavaScript)
```javascript
// Express.js simple API
const express = require('express');
const app = express();

app.get('/api/users/:id', async (req, res) => {
  const user = await User.findById(req.params.id);
  res.json(user);
});

app.listen(3000, () => console.log('Server running'));
```

### Python
```python
# FastAPI example
from fastapi import FastAPI
from sqlalchemy.orm import Session

app = FastAPI()

@app.get("/users/{user_id}")
async def get_user(user_id: int, db: Session = Depends(get_db)):
    user = db.query(User).filter(User.id == user_id).first()
    return user
```

### Go
```go
// Gin framework example
package main

import "github.com/gin-gonic/gin"

func main() {
    r := gin.Default()

    r.GET("/api/users/:id", func(c *gin.Context) {
        user := getUser(c.Param("id"))
        c.JSON(200, user)
    })

    r.Run()
}
```

## Backend Technology Paths

### Node.js/JavaScript
- **Frameworks**: Express, Fastify, NestJS, Koa
- **Package Manager**: npm, yarn, pnpm
- **Database Drivers**: Mongoose, Sequelize, TypeORM
- **Async**: Promises, async/await, event loop

### Python
- **Frameworks**: Django, Flask, FastAPI, Pyramid
- **ORM**: SQLAlchemy, Django ORM
- **Async**: asyncio, FastAPI async support
- **Data Processing**: NumPy, Pandas

### Go
- **Frameworks**: Gin, Echo, Beego
- **Concurrency**: Goroutines, channels
- **Standard Library**: Excellent built-in packages
- **Performance**: Compiled, extremely fast

### Java
- **Frameworks**: Spring Boot, Quarkus
- **Build Tools**: Maven, Gradle
- **JVM Ecosystem**: Comprehensive libraries
- **Performance**: Mature optimization

### PHP
- **Frameworks**: Laravel, Symfony, Slim
- **Database**: Eloquent ORM, Doctrine
- **Modern PHP**: 8.0+, typed properties
- **Deployment**: Easy hosting, mature ecosystem

## Database Fundamentals

### Relational Databases
- **PostgreSQL**: Advanced features, JSON support, reliability
- **MySQL**: Wide adoption, good performance
- **SQL Server**: Enterprise choice

```sql
-- Design example
CREATE TABLE users (
  id SERIAL PRIMARY KEY,
  email VARCHAR(255) UNIQUE NOT NULL,
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE posts (
  id SERIAL PRIMARY KEY,
  user_id INTEGER REFERENCES users(id),
  title VARCHAR(255),
  content TEXT
);
```

### NoSQL Databases
- **MongoDB**: Document-oriented, flexible schema
- **Redis**: In-memory, caching and sessions
- **Cassandra**: Distributed, high availability

### Database Best Practices
- Normalization (1NF, 2NF, 3NF)
- Indexing strategy
- Query optimization
- Connection pooling
- Backup and recovery

## API Development

### REST APIs
```javascript
// RESTful endpoints
GET    /api/users              # List all users
GET    /api/users/:id          # Get single user
POST   /api/users              # Create user
PUT    /api/users/:id          # Update user
DELETE /api/users/:id          # Delete user
```

### GraphQL
- Schema design
- Resolvers and data fetching
- Query and mutation design
- Subscriptions for real-time data
- Performance optimization (batching, caching)

### API Security
- Authentication (JWT, OAuth2, sessions)
- Authorization (RBAC, permissions)
- Rate limiting
- Input validation
- CORS configuration

## Authentication & Authorization

### Authentication Methods
```javascript
// JWT Example
const token = jwt.sign({ userId: user.id }, SECRET, { expiresIn: '7d' });
const verified = jwt.verify(token, SECRET);
```

### Authorization
- Role-Based Access Control (RBAC)
- Attribute-Based Access Control (ABAC)
- Permission scoping
- Token expiration strategies

## Caching Strategies

### HTTP Caching
- Cache headers (Cache-Control, ETag)
- Conditional requests (If-Modified-Since)
- Browser vs server caching

### Application Caching
- Redis for session and data caching
- Cache invalidation strategies
- Cache warming
- Distributed caching

## Testing

### Unit Testing
- Test frameworks (Jest, pytest, unittest)
- Mocking dependencies
- Test coverage targets

### Integration Testing
- Database testing
- API endpoint testing
- Third-party service mocking

### Load Testing
- Tools (Apache JMeter, k6)
- Performance baselines
- Bottleneck identification

## Deployment & DevOps

### Containerization
- Docker for consistency
- Container orchestration (Kubernetes)
- CI/CD pipelines

### Scaling
- Horizontal scaling (load balancing)
- Database replication
- Caching layers
- Microservices patterns

## Learning Resources

### Official Docs
- [Node.js Docs](https://nodejs.org/docs/)
- [Python Docs](https://docs.python.org/)
- [Go Official](https://golang.org/doc/)
- [Spring Boot](https://spring.io/projects/spring-boot)

### Platforms
- FreeCodeCamp
- Udemy
- Frontend Masters
- Coursera

### Projects
1. **Blog API** - CRUD, authentication
2. **E-commerce Backend** - Products, orders, payments
3. **Real-time Chat** - WebSockets, persistence
4. **Job Board** - Complex queries, filtering
5. **Social Network** - Relationships, feeds

## Next Steps

1. Choose a language and framework
2. Master the language fundamentals
3. Learn database design
4. Build 5+ API projects
5. Study system design
6. Learn DevOps basics
7. Contribute to backend open-source

**Roadmap.sh Reference**: https://roadmap.sh/backend

---

**Status**: ✅ Production Ready | **SASMP**: v1.3.0 | **Bonded Agent**: 02-backend-specialist

Related Skills

backend-patterns

16
from diegosouzapw/awesome-omni-skill

Backend patterns for ORPC routers, Drizzle schemas, and server-side code. Use when creating API endpoints, database tables, or services.

backend-passport-js

16
from diegosouzapw/awesome-omni-skill

Authentication middleware for Express.js and Node.js applications. Use when building Express APIs that need JWT authentication, OAuth, or custom auth strategies. Provides 500+ authentication strategies. Choose Passport.js over Auth.js for Express backends, pure API servers, or when you need maximum control over auth flow.

backend-nodejs

16
from diegosouzapw/awesome-omni-skill

Node.js/TypeScript backend expert. Handles Express/Fastify API routes, TypeScript strict mode, Prisma ORM, Zod validation, error handling, configuration management. Use when project is Node.js backend (package.json + TypeScript server).

Backend Node.js Expert

16
from diegosouzapw/awesome-omni-skill

专注于 Node.js 后端开发模式与最佳实践。

Backend Migrations

16
from diegosouzapw/awesome-omni-skill

Create and manage database schema migrations with reversible operations, zero-downtime deployments, and safe rollback strategies. Use this skill when writing database migrations for PostgreSQL, MySQL, SQLite, MongoDB, or any database system; when using ORMs like Prisma, Sequelize, TypeORM, ActiveRecord, Django ORM, or similar migration tools; when implementing schema changes (adding tables, columns, indexes, constraints); when performing data migrations or transformations; when creating indexes on large tables with concurrent options to avoid locks; when separating schema changes from data migrations for safer rollbacks; when implementing zero-downtime deployment strategies for high-availability systems; when versioning database schemas and managing migration order; or when working with database change management in production environments.

backend

16
from diegosouzapw/awesome-omni-skill

Skill para diseñar y construir backends y APIs **modulares**, **auditables**, **resilientes** y **multi-tenant**, con seguridad fuerte, modelado correcto (incl. ledger cuando aplique), datos y jobs/colas operables.

backend-guidelines

16
from diegosouzapw/awesome-omni-skill

Comprehensive backend development guide for Node.js/Express/TypeScript microservices. Use when creating routes, controllers, services, repositories, middleware, or working with Express APIs, Prisma database access, Sentry error tracking, Zod validation, unifiedConfig, dependency injection, or async patterns. Covers layered architecture (routes → controllers → services → repositories), BaseController pattern, error handling, performance monitoring, testing strategies, and migration from legacy patterns.

Backend Expert Pro

16
from diegosouzapw/awesome-omni-skill

A complete back-end specialist skill for designing scalable architectures, robust APIs, and secure server-side systems.

backend-expert-advisor

16
from diegosouzapw/awesome-omni-skill

Backend expert guidance for API/DB/Security/Architecture

backend-development

16
from diegosouzapw/awesome-omni-skill

Build robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis), APIs (REST, GraphQL, gRPC), authentication (OAuth 2.1, JWT), testing strategies, security best practices (OWASP Top 10), performance optimization, scalability patterns (microservices, caching, sharding), DevOps practices (Docker, Kubernetes, CI/CD), and monitoring. Use when designing APIs, implementing authentication, optimizing database queries, setting up CI/CD pipelines, handling security vulnerabilities, building microservices, or developing production-ready backend systems.

backend-development-tdd-orchestrator

16
from diegosouzapw/awesome-omni-skill

Master TDD orchestrator specializing in red-green-refactor discipline, multi-agent workflow coordination, and comprehensive test-driven development practices. Enforces TDD best practices across teams with AI-assisted testing and modern frameworks. Use PROACTIVELY for TDD implementation and governance. Use when: the task directly matches tdd orchestrator responsibilities within plugin backend-development. Do not use when: a more specific framework or task-focused skill is clearly a better match.

backend-development-graphql-architect

16
from diegosouzapw/awesome-omni-skill

Master modern GraphQL with federation, performance optimization, and enterprise security. Build scalable schemas, implement advanced caching, and design real-time systems. Use PROACTIVELY for GraphQL architecture or performance optimization. Use when: the task directly matches graphql architect responsibilities within plugin backend-development. Do not use when: a more specific framework or task-focused skill is clearly a better match.