Practical C++ Backend Programming
Minimum price
Suggested price

Practical C++ Backend Programming

Crafting Databases, APIs, and Web Servers for High-Performance Backend

About the Book

"Practical C++ Backend Programming" is a comprehensive walkthrough that provides readers with the necessary tools and knowledge to become proficient C++ backend developers. With a strong focus on real-world application and practical implementation, this book takes readers on a journey through the multifaceted landscape of backend development, making it an essential resource for any aspiring or current backend developer.

Starting with the basics, the book introduces C++, providing a solid foundation in the language, its structure, and core concepts with regards to backend programming. From there, readers dive into the more complex elements of backend development. Through our engaging sections, use-cases and sample examples, readers are introduced to advanced topics such as concurrent programming, exploring threading and multiprocessing to handle intensive computational tasks, thus laying the groundwork for scalable applications.

This book offers an in-depth look into APIs, specifically gRPC, along with caching strategies, and database management, using MongoDB as a NoSQL database of choice. All the while, readers will learn to implement these technologies in a practical context, building a blog application from scratch, thereby bridging the gap between theory and practical implementation. An entire section is dedicated to securing applications, wherein the book teaches authentication, authorization, and database security, and demonstrates how to implement these measures in the blog application.

Another utmost important part of this book is to cover testing strategies, teaching the reader how to employ Google Test (gtest) to create robust and fail-proof backend solutions. Finally, the journey culminates in a step-by-step walkthrough to deploying applications on AWS, ensuring the reader is equipped with the necessary skills to take their applications live.

Key Learnings

  • Detailed overview of C++ programming, catering to both beginners and experienced coders.
  • Practical exploration of concurrent programming for scalable and efficient application design.
  • Comprehensive understanding of API usage, specifically using the gRPC framework.
  • Deep dive into MongoDB for effective NoSQL database management and operations.
  • Thorough walkthrough to implementing caching strategies for performance optimization.
  • Strategic use of Nginx for handling web server needs including load balancing.
  • Hands-on guide to implementing security measures for databases, APIs, and web servers.
  • Instruction on employing Google Test for robust application testing and debugging.
  • Step-by-step guidance for deploying applications on AWS, ensuring real-world readiness.
  • Practical application of concepts via building and refining a blog application.

Table of Content

  1. Introduction to Backend Development
  2. C++ Refresher and Essentials
  3. Deep Dive into Algorithms
  4. Mastering Version Control - Git and GitHub
  5. Managing Database Operations with MongoDB
  6. Crafting Rest APIs with gRPC
  7. Dealing with Client-side and Server-side Caching
  8. Managing Web Servers with Nginx
  9. Testing Your C++ Backend
  10. Securing Your C++ Backend
  11. Deploying Your Application


This book is appropriate for readers with some background in C++ and nothing about back-end development. It's great for those just getting their feet wet in back-end development, as well as seasoned pros looking to hone their craft and learn something new. Whether you're a student, a professional, or a hobbyist, this book will teach you everything you need to know to master the art of C++ back-end development.

  • Share this book

  • Categories

    • C and C++
    • MongoDB
    • Networking
    • APIs
    • Testing
    • Software
  • Feedback

    Email the Author(s)

About the Editor

GitforGits | Asian Publishing House
GitforGits | Asian Publishing House

GitforGits is an Asian publishing house where knowledgeable experts and open-source contributors collaborate to disseminate new ideas and innovations. We plan to provide niche, original, and useful content; we are a self-funded, independent publisher. We have books spanning the fields of computer science, cybersecurity, cloud computing, devops, deep learning, hardware programming, networking, the Internet of Things, and any other area of technology to which we can satisfactorily contribute.

Bundles that include this book

Bought separately
Minimum price
Suggested price

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub