Backend Technologies Skill
Quick Start - Express.js API
import express, { Request, Response } from 'express';
import { prisma } from './lib/prisma';
const app = express();
app.use(express.json());
// GET all users
app.get('/users', async (req: Request, res: Response) => {
try {
const users = await prisma.user.findMany();
res.json(users);
} catch (error) {
res.status(500).json({ error: 'Failed to fetch users' });
}
});
// POST new user
app.post('/users', async (req: Request, res: Response) => {
const { email, name } = req.body;
try {
const user = await prisma.user.create({
data: { email, name }
});
res.status(201).json(user);
} catch (error) {
res.status(400).json({ error: 'Invalid data' });
}
});
app.listen(3000, () => console.log('Server running on 3000'));
Core Technologies
Languages
- Node.js - JavaScript runtime
- Python - Versatile with many frameworks
- Java - Enterprise standard
- Go - Concurrent systems
- Rust - Systems programming
Web Frameworks
- Express, Fastify, NestJS (Node.js)
- Django, FastAPI, Flask (Python)
- Spring Boot, Quarkus (Java)
- Gin, Fiber (Go)
- Actix, Axum (Rust)
Databases
- SQL: PostgreSQL, MySQL
- NoSQL: MongoDB, DynamoDB
- Cache: Redis, Memcached
- Search: Elasticsearch
API & Messaging
- REST APIs with best practices
- GraphQL API design
- gRPC for microservices
- WebSockets for real-time
- Kafka, RabbitMQ for messaging
ORM/Query Tools
- Prisma, Sequelize (Node.js)
- SQLAlchemy, Tortoise (Python)
- Hibernate, Spring Data (Java)
- GORM (Go)
Best Practices
- API Design - RESTful or GraphQL standards
- Database - Proper indexing and optimization
- Security - Input validation, parameterized queries
- Error Handling - Meaningful error messages
- Testing - Unit and integration tests
- Documentation - OpenAPI/Swagger docs
- Logging - Structured logging
- Performance - Response time optimization
Resources
1---2name: backend-technologies3description: Master backend development with Node.js, Python, Java, Go, Rust, API design, databases, and microservices. Use when building APIs, designing systems, or learning backend frameworks.4---5
6# Backend Technologies Skill
7
8## Quick Start - Express.js API
9
10```typescript
11import express, { Request, Response } from 'express';
12import { prisma } from './lib/prisma';
13
14const app = express();
15app.use(express.json());
16
17// GET all users
18app.get('/users', async (req: Request, res: Response) => {
19 try {
20 const users = await prisma.user.findMany();
21 res.json(users);
22 } catch (error) {
23 res.status(500).json({ error: 'Failed to fetch users' });
24 }
25});
26
27// POST new user
28app.post('/users', async (req: Request, res: Response) => {
29 const { email, name } = req.body;
30 try {
31 const user = await prisma.user.create({
32 data: { email, name }
33 });
34 res.status(201).json(user);
35 } catch (error) {
36 res.status(400).json({ error: 'Invalid data' });
37 }
38});
39
40app.listen(3000, () => console.log('Server running on 3000'));
41```
42
43## Core Technologies
44
45### Languages
46- **Node.js** - JavaScript runtime
47- **Python** - Versatile with many frameworks
48- **Java** - Enterprise standard
49- **Go** - Concurrent systems
50- **Rust** - Systems programming
51
52### Web Frameworks
53- Express, Fastify, NestJS (Node.js)
54- Django, FastAPI, Flask (Python)
55- Spring Boot, Quarkus (Java)
56- Gin, Fiber (Go)
57- Actix, Axum (Rust)
58
59### Databases
60- **SQL**: PostgreSQL, MySQL
61- **NoSQL**: MongoDB, DynamoDB
62- **Cache**: Redis, Memcached
63- **Search**: Elasticsearch
64
65### API & Messaging
66- REST APIs with best practices
67- GraphQL API design
68- gRPC for microservices
69- WebSockets for real-time
70- Kafka, RabbitMQ for messaging
71
72### ORM/Query Tools
73- Prisma, Sequelize (Node.js)
74- SQLAlchemy, Tortoise (Python)
75- Hibernate, Spring Data (Java)
76- GORM (Go)
77
78## Best Practices
79
801. **API Design** - RESTful or GraphQL standards
812. **Database** - Proper indexing and optimization
823. **Security** - Input validation, parameterized queries
834. **Error Handling** - Meaningful error messages
845. **Testing** - Unit and integration tests
856. **Documentation** - OpenAPI/Swagger docs
867. **Logging** - Structured logging
878. **Performance** - Response time optimization
88
89## Resources
90
91- [Express.js Documentation](https://expressjs.com/)
92- [FastAPI Documentation](https://fastapi.tiangolo.com/)
93- [Spring Boot Guide](https://spring.io/projects/spring-boot)
94- [PostgreSQL Documentation](https://www.postgresql.org/docs/)
95- [GraphQL Official](https://graphql.org/)