Building Enterprise JavaScript Applications: Learn to build and deploy robust JavaScript applications using Cucumber, Mocha, Jenkins, Docker, and Kubernetes

Become a senior developer by building enterprise applications that use modern techniques such as TDD, containerization, continuous integration, and deployment

Key Features

  • Create production-grade JavaScript applications from scratch
  • Build microservices and deploy them to a Docker container for scaling applications
  • Test and deploy your code with confidence using Travis CI

Book Description

With the over-abundance of tools in the JavaScript ecosystem, it’s easy to feel lost. Build tools, package managers, loaders, bundlers, linters, compilers, transpilers, typecheckers – how do you make sense of it all?

In this book, we will build a simple API and React application from scratch. We begin by setting up our development environment using Git, yarn, Babel, and ESLint. Then, we will use Express, Elasticsearch and JSON Web Tokens (JWTs) to build a stateless API service. For the front-end, we will use React, Redux, and Webpack.

A central theme in the book is maintaining code quality. As such, we will enforce a Test-Driven Development (TDD) process using Selenium, Cucumber, Mocha, Sinon, and Istanbul. As we progress through the book, the focus will shift towards automation and infrastructure. You will learn to work with Continuous Integration (CI) servers like Jenkins, deploying services inside Docker containers, and run them on Kubernetes.

By following this book, you would gain the skills needed to build robust, production-ready applications.

What you will learn

  • Practice Test-Driven Development (TDD) throughout the entire book
  • Use Cucumber, Mocha and Selenium to write E2E, integration, unit and UI tests
  • Build stateless APIs using Express and Elasticsearch
  • Document your API using OpenAPI and Swagger
  • Build and bundle front-end applications using React, Redux and Webpack
  • Containerize services using Docker
  • Deploying scalable microservices using Kubernetes

Who this book is for

If you’re a JavaScript developer looking to expand your skillset and become a senior JavaScript developer by building production-ready web applications, then this book is for you.

Table of Contents

  1. The Importance of Good Code
  2. Using Isomorphic JavaScript
  3. Principles of JavaScript
  4. Writing in ECMAScript 2015+
  5. Managing Version History with Git
  6. Setting Up Development Tools
  7. TDD Part I – End-to-End Tests
  8. TDD Part II – Unit / Integration Tests
  9. Deploying Your Application on a VPS
  10. Continuous Integration
  11. Security – Authentication & Authorization
  12. Documenting Our API
  13. Creating UI with React
  14. E2E Testing in React
  15. Managing State with Redux
  16. Migrating to Docker
  17. Container Management with Kubernetes
  18. Managing States with Redux
  19. Robust Infrastructure with Kubernetes

Book details

  • Authors:Daniel Li
  • Publisher:Packt Publishing
  • Publication date:October 9, 2018
  • ISBN-10:1788477324
  • ISBN-13:978-1788477321
  • Pages:764 pages
  • Format:epub
  • Size:19.49Mb
Get Download Link

Leave a Reply

Your email address will not be published. Required fields are marked *