Skip to content

Building Enterprise JavaScript Applications, published by Packt

License

Notifications You must be signed in to change notification settings

PacktPublishing/Building-Enterprise-JavaScript-Applications

Repository files navigation

$5 Tech Unlocked 2021!

If you have read this book, please leave a review on Amazon.com. Potential readers can then use your unbiased opinion to help them make purchase decisions. Thank you. The $5 campaign runs from December 15th 2020 to January 13th 2021.

Building Enterprise JavaScript Applications (BEJA)

Building Enterprise JavaScript Applications, published by Packt

Book Name

This is the official code repository for Building Enterprise JavaScript Applications, published by Packt.

  • Chapters 1-3 outlines pre-requisite information and contains no code at all.
  • In chapters 4-13, we build our backend API from scratch. It's recommended that you use download the d4nyll/hobnob repository and follow along. The starting and finishing point of each chapter can be found as Git tags on the Releases page of the repository.
  • In chapters 14-16, we build a very simple frontend client from scratch. The instructions should be easy to follow, but you can find the end product under Chapter17/hobnob-client.
  • In chapters 17-18, we deploy our application using Docker and Kubernetes. The end product of these two chapters can be found under Chapter17/hobnob-deploy

Learn to build and deploy robust JavaScript applications using Cucumber, Mocha, Jenkins, Docker, and Kubernetes

What is this book about?

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?

This book covers the following exciting features:

  • 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

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

function errorHandler(err, req, res, next) {
  ...
}

export default errorHandler;

Following is what you need for this book: Copy and paste the Audience section from the EPIC.

With the following software and hardware list you can run all code files present in the book (Chapter 1-20).

Software and Hardware List

Chapter Software required OS required
3 Node.js® (Any, preferably latest LTS, which is currently 8.11.4) Linux (preferably Ubuntu)
4 Node.js® (Any, preferably latest LTS, which is currently 8.11.4) Linux (preferably Ubuntu)
5 Git (Any, preferably 2.18.0+) Linux (preferably Ubuntu)
6 Various NPM packages Linux (preferably Ubuntu)
7 Cucumber.js (4.2.1+)Google Chrome Browser(latest,currently 68.0.3440.106)
Visual Studio Code(latest, currently 1.26) Java(latest, currently 10.0.2)
Elasticsearch (latest, currently 6.4.0) Bash (shell) (latest v4 and above,
currently 4.4.19. DO NOT USE v3) Various NPM packages Linux (preferably Ubuntu)
8 Various NPM packages Mocha (latest, currently 5.2.0) Linux (preferably Ubuntu)
9 DigitalOcean account (N/A) Namecheap(N/A) NGINX(latest, currently 1.15.2)
10 Travis CI (N/A) GitHub (N/A) Jenkins (latest v2+, currently 2.121.3) Linux (preferably Ubuntu)
12 Swagger Node NPM package (latest, currently 0.7.5) Linux (preferably Ubuntu)
13 React(latest,atleast 15+,currently 16.4.2)Webpack(latest,currently,4.17.1) Linux (preferably Ubuntu)
14 Selenium (v4+) React Router (v4+, currently 4.3.1) Linux (preferably Ubuntu)
15 Redux (v4+, currently 4.0.0) Linux (preferably Ubuntu)
16 Docker (latest, currently 18.03) Linux (preferably Ubuntu)
17 DigitalOcean Kubernetes Minikube (latest, currently 0.28.2) Linux (preferably Ubuntu)

Related products

Get to Know the Author

Daniel Li is a DevOps Engineer and Full-stack JavaScript Developer at Nexmo. Previously, he was also the Managing Director of Brew, a digital agency in Hong Kong that specializes in MeteorJS.

A proponent of knowledge-sharing and open source, Daniel has written over 100 blog posts and in-depth tutorials, helping hundreds of thousands of readers navigate the world of JavaScript and the web.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781788477321