Full-Stack JavaScript Strategies

Book description

As a working software developer, you know how to complete your tasks with solid code, whether it's on the frontend or backend. Now you're ready to move to the next level in your career, and you need to understand the subtle yet deep skills it takes to become a senior developer. This practical book shows you everything it takes to create a full-stack web application hosted on a cloud platform.

Senior staff engineer Milecia McGregor helps you see how the whole system works and how senior developers arrive at technical decisions. You'll learn about design and development principles and when to apply them. You'll also discover strategies for working with different teams and understand how the product team makes its decisions.

In four parts, this book shows you how to:

  • Translate designs into tasks and learn the questions you'll need to ask the product team
  • Walk through development considerations for the backend like overall architecture, security, and third-party services
  • Build the project's user interface as well as state and data management, performance, and other concerns associated with frontend apps
  • Connect the frontend, backend, and other systems and deploy a full stack app to production

Publisher resources

View/Submit Errata

Table of contents

  1. Brief Table of Contents (Not Yet Final)
  2. Preface
    1. Who This Book is For
    2. What You Will Learn
    3. What This Book is Not
    4. How This Book Is Organized
    5. Conventions Used in This Book
    6. Using Code Examples
    7. O’Reilly Online Learning
    8. How to Contact Us
  3. 1. Kicking Off the Project
    1. The Project You’ll Build
    2. Project Kick-Off Meeting: Going through the designs
    3. Design Considerations
    4. Data-driven Design
      1. Breaking Down Designs into Tasks
      2. Refining Tasks from Feature Requirements
    5. Discussing Timelines with Product and Other Teams
      1. Talking to Other Development Teams
      2. Coordinating with DevOps
      3. Working with QA
      4. Planning with Support
    6. Bringing It All Together
  4. 2. Setting Up the Back-end
    1. Why Nest.js?
    2. Choosing a Project Approach
    3. Setting Up Nest
    4. Testing the Back-end Locally
    5. Updating the README
    6. Adding a CHANGELOG
    7. Monolith and Microservice Architectures
      1. Selecting an API Design Pattern: REST and GraphQL
    8. Conclusion
  5. 3. Building the Data Schema
    1. Initial Considerations
    2. Diagramming the Data Schema
    3. Setting Up Postgres
    4. Basic SQL Commands to Know
    5. Deciding What ORM to Use to Work with the Data
    6. Writing Migrations
    7. Seeding the Database
    8. Conclusion
  6. 4. REST APIs
    1. Making sure the frontend and backend agree
    2. Creating a document for conventions
      1. Making the API and first endpoint
    3. Conclusion
  7. 5. Third-party services
    1. Choosing a third-party service
      1. List of potential services
    2. Integrating Stripe
      1. Writing the controller
      2. Writing the service
    3. Conclusion
  8. 6. Background Jobs
    1. Updating the Backend Architecture
    2. Using Cron Jobs
      1. Alerts and Monitoring
      2. Logging
      3. Data Sync and Task Execution Issues
      4. Future Considerations
    3. Conclusion
  9. About the Author

Product information

  • Title: Full-Stack JavaScript Strategies
  • Author(s): Milecia McGregor
  • Release date: February 2025
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781098122256