▶Book Description
Isomorphic JavaScript was the buzzword of the year 2017, allowing developers to utilize a single language throughout their web development stack and build cost-effective and scalable applications. MEVN is a one such modern web development stack consisting of web applications such as MongoDB, Express.js, Vue.js, and Node.js. Hands-On Full-Stack Web Development with Vue.js 2 and Node.js leverages the harmony of these technologies to help you create full-stack web applications.
Starting with the core frameworks, this example-based guide explains all the key concepts of frameworks, how to set them up properly, and how to use popular modules to connect them together and make them work cohesively. You will learn all this with the help of real-world examples. In addition to this, you will be able to scaffold web application architecture, add an authentication layer, and develop the MVC structure to support the development of your application. You'll explore how to create data models for your applications and then write REST APIs by exposing your data model to your application.
Solely orientated towards building a full, end-to-end application using the MEVN stack, this book will help you understand how your application development grows.
▶What You Will Learn
⦁ Build an application with Express.js
⦁ Create schemas using Mongoose
⦁ Develop a single-page application using Vue.js and Express.js
⦁ Create RESTful APIs using Express.js
⦁ Add test cases to improve the reliability of the application
⦁ Learn how to deploy apps on Heroku using GitHub
⦁ Add authorization using passports
▶Key Features
⦁ Construct modern web applications with Node 10, Express.js, MongoDB, and Vue
⦁ Leverage the latest web standards to increase code performance, readability, and cross-compatibility
⦁ Harness the power of the JavaScript ecosystem to effectively run, build, and test your full stack applications
▶Who This Book Is For
If you are a web or a full-stack JavaScript developer, and have tried your hand at traditional stacks such as LAMP, MEAN or MERN, or wish to explore a new stack with modern web technologies, then this book is for you. Prior knowledge of HTML, CSS, and JavaScript would be an added advantage.
▶What this book covers
⦁ Chapter 1, Introduction to MEVN, gives an introduction to the MEVN stack and the installation of different tools required to build the foundation for the application.
⦁ Chapter 2, Building an Express Application, provides an introduction to Express.js, an idea of what Model, Views, Controller (MVC) structure is, and shows you how to set up an application using Express.js and MVC structure.
⦁ Chapter 3, Introduction to MongoDB, focuses on the introduction of Mongo and its queries, introduction to Mongoose and performance of Create, Read, Update, and Delete (CRUD) operations using Mongoose.
⦁ Chapter 4, REST APIs, gives an idea of what REST architecture is and what RESTful APIs are. This chapter also gives an idea of different HTTP verbs and developing REST APIs.
⦁ Chapter 5, Building the Real Application, introduces Vue.js and shows you how to build a fully working dynamic application using all technologies in MEVN.
⦁ Chapter 6, Authentication with Passport.js, deals with what Passport.js and describes how to implement JWT and local strategy to add an authentication layer in the application.
⦁ Chapter 7, Passport.js OAuth Strategies, gives idea about what OAuth strategies and guides you through the implementation of Facebook, Twitter, Google, and LinkedIn Passport.js strategies.
⦁ Chapter 8, Introduction to Vuex, gives an idea about core concepts of Vuex –. states, getters, mutations, and actions. It also describes how you can implement them in the application.
⦁ Chapter 9, Testing an MEVN Application, explains what unit tests and end-to-end tests are and guides you through writing both unit tests and automation tests for the different aspects of the application.
⦁ Chapter 10, Go Live, explains what Continuous Integration is, guiding you through how to set up a Continuous Integration service with the application and deploy the application on Heroku.