Giter Club home page Giter Club logo

building-enterprise-javascript-applications's Introduction

$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

building-enterprise-javascript-applications's People

Contributors

d4nyll avatar dikshawakode avatar elfelround avatar packt-itservice avatar packtutkarshr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

building-enterprise-javascript-applications's Issues

file uploads?

i havent come across any procedure of file uploads within the book, any recommendations?

Ch4 Eslint install - different config options?

Hi there,
I'm following along the book in Chapter4, and configuring eslint.

When I run npx eslint --init, the configuration questions I receive are different than what the book indicates. For instance, instead of How would you like to configure ESLint?, I see this: How would you like to use ESLint?. The possible options are very different as well (Book option1:Use a popular style guide Mine: To check syntax only). So there is no intuitive path through the questions to match the book.

I assume I have a different (newer?) version of eslint? but no versions are mentioned in the book.

I've tried configuring airbnb-base with other online sources, however the result of npx eslint --fix is yielding different results from the book, so I can't keep my code "in sync" with the book.

Does anyone know how to configure eslint in this case?

ch5 VSC debug errors

downloaded chapter 5 code, installed git and init, yarn install, instaled eslint in vsc, went through eslint init
having both eslint errors and debug errors

/usr/bin/node --inspect-brk=24604 src/index.js
Debugger listening on ws://127.0.0.1:24604/33407cc5-b0a6-45dd-9ba1-c64137380a10
Debugger attached.
/home/erick/Desktop/Building-Enterprise-JavaScript-Applications-master/Chapter05/hobnob/src/index.js:1
(function (exports, require, module, __filename, __dirname) { import express from 'express';
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
Waiting for the debugger to disconnect...
SyntaxError: Unexpected token import
vm.js:80
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.