Book description
Delve into the world of web development with Vue.js, Node.js, and MongoDB by exploring essential JavaScript concepts on the client side and the server side
Key Features
- Get up and running with JavaScript, the most popular web development language in the world
- Cut through the complexity and focus on the simple aspects of web development
- Build a simple web application using Vue.js, Node.js, and MongoDB
Book Description
JavaScript, the most widely used programming language in the world, has numerous libraries and modules and a dizzying array of need-to-know topics. Picking a starting point can be difficult. Enter JavaScript from Frontend to Backend. This concise, practical guide will get you up to speed in next to no time.
This book begins with the basics of variables and objects in JavaScript and then moves quickly on to building components on the client-side with Vue.js and a simple list management application. After that, the focus shifts to the server-side and Node.js, where you'll examine the MVC model and explore the Express module. Once you've got to grips with the server-side and the client-side, the only thing that remains is the database. You'll discover MongoDB and the Mongoose module. In the final chapter of this fast-paced guide, you'll combine all these pieces to integrate a Vue.js application into a Node.js server, using Express to structure the server code and MongoDB to store the information.
By the end of this book, you will have the skills and confidence to successfully implement JavaScript concepts in your own projects and begin your career as a JavaScript developer.
What you will learn
- Trigger deferred processing with JavaScript
- Implement Express and MongoDB with Node.js
- Build components with Vue.js
- Understand how to create and use modules with Node.js
- Familiarize yourself with npm
- Build a client-side application entirely with JavaScript
- Dive into full stack development with Vue.js, Node.js, and MongoDB
Who this book is for
This book is for JavaScript developers looking to strengthen their core JavaScript concepts and implement them in building full stack apps. Prior knowledge of HTML and CSS is a must.
Table of contents
- JavaScript from Frontend to Backend
- Contributors
- About the author
- About the reviewer
- Preface
- Part 1: JavaScript Syntax
- Chapter 1: Exploring the Core Concepts of JavaScript
- Chapter 2: Exploring the Advanced Concepts of JavaScript
- Part 2: JavaScript on the Client-Side
- Chapter 3: Getting Started with Vue.js
- Chapter 4: Advanced Concepts of Vue.js
- Chapter 5: Managing a List with Vue.js
- Part 3: JavaScript on the Server-Side
- Chapter 6: Creating and Using Node.js Modules
- Chapter 7: Using Express with Node.js
- Chapter 8: Using MongoDB with Node.js
-
Chapter 9: Integrating Vue.js with Node.js
- Technical requirements
- Displaying application screens
- Building the app with Express
- MongoDB database structure
- Installing the Axios library
-
Inserting a new element in the list
- Replacing the text and index attributes with the element attribute
- Description of the Axios library for communicating between the client and the server
- Using Axios with a POST type request (client side)
- POST type request processing (server side)
- Verifying the correct operation of the insertion in the database
- Displaying list elements
- Modifying an element in the list
- Removing an element from the list
- Summary
- Thanks
- Why subscribe?
- Other Books You May Enjoy
Product information
- Title: JavaScript from Frontend to Backend
- Author(s):
- Release date: July 2022
- Publisher(s): Packt Publishing
- ISBN: 9781801070317
You might also like
book
Modern Frontend Development with Node.js
Enhance your web development projects by fully leveraging Node.js concepts, tools, and best practices at frontend …
book
Node.js Web Development
Build scalable web applications using Node.js, Express.js, and the latest ECMAScript techniques, along with deploying applications …
video
Front-End Web Development with Modern HTML, CSS, and JavaScript
JavaScript code runs your browser as your HTML page loads. Adding JavaScript to your code can …
book
Front-End Developer
This book covers the role of front-end developer in terms of typical responsibilities, required skills and …