How bpbpublications/backend-developer-in-30-days works
This repository is a set of independent, chapter-organized backend teaching examples, not one integrated application. Its examples span HTTP and RPC/GraphQL services, reporting and calculation, OAuth, MVC and persistence, logging/error handling, and an instrumented order service. There is no single user-to-result workflow across the repository; individual samples demonstrate their own runtime behavior. Relationships below are limited to excerpted calls or source-index references, so several components remain unconnected where wiring was not shown.
Main entry points: server.go gRPC server · ReportService.py Report and print service · server.js Instrumented orders API · client.go gRPC client
Components 27
Servers and APIs
- Express HTTP demo
Chapter 02/express-server/server.js - Java HTTP server
Chapter 02/HttpServer.java - Multithreaded server
Chapter 02/HttpServerMultiThread.java - GraphQL endpoint
Chapter 03/golang/graphql/server.go - gRPC server
Chapter 03/golang/grpc/server.go - gRPC client
Chapter 03/golang/grpc/client.go - Hello service contract
Chapter 03/golang/grpc/proto/helloworld.proto - SOAP service demo
Chapter 03/java/Main.java - Java RPC example
Chapter 03/java/app/src/main/java/chapter3/RPC1.java
Business Examples
- Calculator
Chapter 05/unit_tests/python/Calculator.py - Calculator example test
Chapter 05/unit_tests/python/CalculatorUnitTest.py - Report and print service
Chapter 05/unit_tests/python/ReportService.py - Report service example tests
Chapter 05/unit_tests/python/ReportServiceUnitTests.py - Instrumented orders API
Chapter 10/express-server-with-instrumentation/server.js - Pizza order generator
Chapter 10/express-server-with-instrumentation/pizza-service.js
Security and Operations
- OAuth client
Chapter 06/oauth/client.js - OAuth resource
Chapter 06/oauth/resource.js - Error handling demo
Chapter 07/exception/handling-errors.js - Text logging demo
Chapter 07/logging/python-text-logging.py - Log pipeline config
Chapter 07/elk-stack/logstash-simple.conf
Application Architecture
- Express MVC demo
Chapter 08/express-mvc/index.js - Hibernate example
Chapter 08/hibernate-example/src/main/java/hibernate/example/App.java - Order controller
Chapter 08/pizza-place/src/main/java/com/example/pizzaplace/controller/OrderController.java - Order service
Chapter 08/pizza-place/src/main/java/com/example/pizzaplace/service/OrderService.java - Order model
Chapter 08/pizza-place/src/main/java/com/example/pizzaplace/model/Order.java - Containerized web demo
Chapter 09/docker-pizza-place/web/server.js
Other components
- API caller
Connections 9
- API caller → Express HTTP demo: sends requests
Chapter 02/express-server/server.js - API caller → GraphQL endpoint: queries
Chapter 03/golang/graphql/server.go - gRPC client → gRPC server: calls
- gRPC server → Hello service contract: registers service
Chapter 03/golang/grpc/server.go - API caller → Instrumented orders API: requests orders
Chapter 10/express-server-with-instrumentation/server.js - Instrumented orders API → Pizza order generator: gets orders
Chapter 10/express-server-with-instrumentation/server.js - Calculator example test → Calculator: imports and tests
Chapter 05/unit_tests/python/CalculatorUnitTest.py - Report service example tests → Report and print service: imports and tests
Chapter 05/unit_tests/python/ReportServiceUnitTests.py - Report and print service → API caller: prints report