Previous Next

Full Stack Development with MongoDB. Covers Backend, Frontend, APIs, and Mobile App Development Using PHP, NodeJS, ExpressJS,… (Manu Sharma)(Z-Library)

Author: Manu Sharma

Web Framework

Learn Full Stack Development (Frontend, Backend, APIs and Mobile App) with Python, PHP, Node.js, React Native and MongoDB. Covers Backend, Frontend, APIs, and Mobile App Development using PHP, NodeJS, ExpressJS, Python and React Native. Key Features Covers full stack development from start to finish, including frontend, backend, API and mobile app development.

📄 File Format: PDF
💾 File Size: 10.6 MB
12
Views
0
Downloads
0.00
Total Donations

📄 Text Preview (First 20 pages)

ℹ️

Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

📄 Page 1
(This page has no text content)
📄 Page 2
(This page has no text content)
📄 Page 3
Full Stack Development with MongoDB Covers Backend, Frontend, APIs, and Mobile App Development Using PHP, NodeJS, ExpressJS, Python and React Native Manu Sharma www.bpbonline.com
📄 Page 4
FIRST EDITION 2022 Copyright © BPB Publications, India ISBN: 978-93-55510-143 All Rights Reserved. No part of this publication may be reproduced, distributed or transmitted in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication, photocopy, recording, or by any electronic and mechanical means. LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY The information contained in this book is true to correct and the best of author’s and publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but publisher cannot be held responsible for any loss or damage arising from any information in this book. All trademarks referred to in the book are acknowledged as properties of their respective owners but BPB Publications cannot guarantee the accuracy of this information. www.bpbonline.com
📄 Page 5
Dedicated to All Family and Friends My Grandmother: Smt. Pushpa Devi Sharma My Parents: Sh. Vijay Sharma and Smt. Neelam Sharma My Wife: Anu Sharma My Sister: Neha Sharma & Especially to My Angel Daughter: Siya Sharma
📄 Page 6
About the Author Manu Sharma (MPhil) has more than 17 years of industry experience in software development at the architect level, web administration, project management and execution, product development, and team management. He has worked for various multinational companies, small to mid-sized organizations, universities as well as one of the biggest conglomerates of India. He is also the founder, architect, and developer of two open-source projects. In his free time, he loves to spend his time with his family and his daughter. His other interests are singing and arts. During some weekends you can find him singing and recording music in the studios, playing the flute, or painting with brushes in his hands.
📄 Page 7
About the Reviewers Dheeraj Chhabra is a Strategic-level professional working as Program Director in Happiest Minds Technologies Limited. He holds Masters in Computer Applications (MCA) from Indira Gandhi National Open University (IGNOU). Dheeraj has more than 18 years of work experience in IT and has worked in different established organizations at various levels from Software Developer to Program Management. He has worked on various technologies including Java Swings, Servlets, JSP, EJB, Asp, VB.Net, C#.Net, ASP.Net, SQL Server, Oracle, and more. He has played various important roles including, but not limited to, Software Engineer, Team Lead, Project Lead, Project Manager, Enterprise Solution Architect, Product Manager, and Program Manager. Dheeraj is a firm believer as well as a strong follower of Servant Leadership, Empowerment, and Continuous Integrated Development. Dheeraj has earned various certifications such as PSM, TOGAF, PMP, PMI- ACP, SAFe 4 & 5, EXIN ASM, and is currently following his passion of continuous learning and development focused on a couple of more technical and leadership skills-oriented certifications. He is detail-oriented with a key focus on end-to-end project/program planning, execution, and delivery. He keeps a close eye to Run, Protect and Change the business. Rohit Agarwal is an IT professional with rich experience in Data Technologies. His expertise circle around Data Engineering, Architecture, and Analytics providing end-to-end solutions to business units by creating data pipelines and building business intelligence systems to help organizations take critical business decisions based on data. He earned his Master’s degree in Information Systems from Northeastern University, Boston in the year 2017. He has a keen interest in Entrepreneurship and Innovation and has also learned the same from Harvard Extension School, Boston. Mamoon Mushtaque is a technically accomplished IT professional with 9+ years of experience in service-based as well as product-based organizations with insightful experience in various aspects of UI development using multiple technologies. He is currently working as Lead Software Engineer at
📄 Page 8
Spiralyze LLC. Harish Kumar Buttolia has an M.Sc. (IT) from the Punjab Technical University. He worked for various Government and Private organizations. He possesses 18 years of experience in IT with a good knowledge of software and application development using open source technologies. He is having articles/publications published in renowned India/International Journals. He is always keen to learn new technologies. He is also interested in writing, reading, music, and travel.
📄 Page 9
Acknowledgement First of all, I am thankful to almighty God for providing me with the opportunity to write a book. I am very thankful to Mr. Nrip Jain (Head, Business Development Group, BPB Publications) for believing in me and offering me to write this book. I am also thankful to all my Gurus and Teachers in life for their teachings and blessings. My special thanks to my daughter “Siya” for supporting me during the book journey. I feel great to have some friends; most of them are still in touch with me including my college buddies, from ET&T as well as a few other friends – Chandrashekhar Kalia, Kapil Bharadwaj, Ankur Sood, Anugrag Sharma, Suresh Kumar, Umang Mathur, Nisha Jayna, Deepak Kumar Taank, Dhirendra Kumar, Joseph Vamsavardhan Gurja - Thank You All I am very thankful to my uncle and neighbor – Prof. Jyoti Kumar Sharma for his guidance while I was about to start writing my first book and for encouraging me always. I would like to thank few of my colleagues from my present organization (Spiralyze LLC) for their support, admiration, and appreciation: Gajan Retnasaba, Yaseen Shaik, Sophie D’Souza, Dheeraj Sareen, Mitko Cabevski, Hassan Ahmad, Mamoon Mushtaque, Nikunjkumar Balar, Yuriy Kycha-Kolot, Bhavesh Vavadiya, Dhaval Balar, Sohil Hunani, Riyaz Lohiya, Jaya Prakash, Mohammad Subhani, Vaibhav Anchal, Kushal Borda, Abhishek Mohata, Himujjal Upadhyaya, Sonu Rana, Sergy Babich, Donatas Jasiunas, Cris Balano, Bash Simplicio, Rachelle Olvida, Sonali Rasane, Angelica Marbella, Quirino Lacambra IV – You people are awesome! I would like to also thank a few people from my previous organizations: Rajesh Goyal, Santosh Kumar (@ Infopro) Amit Kumar Sen, Shahid Reza, Paarul Madaan, Sachin Chandra, Santosh Negi, Sandeep Kumar, Sunil Patnaik, Nishant Singh, Aniruddha Ratnaparkhi, Manish Singh, Sandeep Sugra (@ Shri Ram New Horizons) Anupam Srivastava, Rohit Agarwal, Daljeet Singh, Ashok Kumar, Abhishek Kumar, Ajay Kumar, Puneet Sehgal,
📄 Page 10
Vikrant Singh, Abhishek Verma, Aarfi Siddique, Deepak Gautam, Naveen Jeengar, Randhir Sharma, Sushil Kumar Prajapati, Priyanshu Singh, Jyoti Deep (@ Miracle Corporate Solutions Pvt. Ltd. ) Shiw Kumar Prasad, Vidushi Sasan, Yashdeep Gupta, Gaurav Mukhija (JBi Digital) Amit Puri, Dhananjay Kumar Yadav, Dheeraj Yadav, Rahul Singh Yadav, Amitesh Maurya, Saurabh Sharma (@TSI India) My gratitude also goes to the entire team at BPB Publications for being always supportive during the entire Book Journey and whenever I need their help they were always available to help me. Last but not least I am very thankful to all the technical reviewers of this book, I really appreciate their hard work during technical review and am thankful to them whenever they have corrected me in some places which required changes.
📄 Page 11
Preface This book is intended for the people who want to learn MongoDB at an Advanced Level and then want to scale their knowledge to the Full Stack Software Application Development both for Web and Mobile using MongoDB. The readers should possess some basic understanding of the Database Concepts such as MongoDB and some intermediate understanding of Programming Concepts, Programming Languages like PHP, JavaScript, Node.js, React Native, and Python. While we cover all in very practical and step by step Full Stack Application Development using MongoDB with Chapters Features Step by Step use of MongoDB with Programming Languages like PHP, JavaScript, Node.js, React Native and Python So even if the reader have a basic programming knowledge then also reader would be able to understand these Chapters easily. Every Concept has been explained in a manner that once you start the practical development while reading this book at the end you will be more experienced in Software Development both in Web and Mobile Technologies. This Book Covers the Step by Step Practical Development along with Screenshots for almost every Step, You will learn to develop the following 4 Software Applications using 4 Different Languages – One Database – 4 Apps Backend Catalog of a Publication House – CRUD Functionality with PHP and MongoDB REST API Development – Creating a RESTful Web Services of a Publication House – API Development using Node.js and MongoDB Mobile App Development – Creating a Mobile App of a Publication House – Data-Driven Dynamic Mobile App Development using React Native and MongoDB using API Calls Frontend Development – Creating a Website of a Publication House – Frontend Development using Python’s Django Framework and
📄 Page 12
MongoDB The main programming languages used in this book: PHP Node.js JavaScript React Native (For Mobile Application Development) Python Other languages/components used in this book: HTML CSS React Native Stylesheet Component Software/modules/libraries/terms used in this book: Full-Stack Software Development Backend Software Development Frontend Software Development WAMP Stack / WAMP Server MERN Stack API Development MongoDB Compass NPM Modules Express.js CORS Postman PIP PyPI Django Framework PyMongo and Many More ….
📄 Page 13
Chapter 1 covers the concepts related to the client-side and server-side. You will learn the difference between the client and server and how the interactions happen between client and server. In the later part of this chapter, we would be also learning the client and server-side concepts in which a database like MongoDB is also involved. We would be exploring how the dynamic sites which are using databases like MongoDB work, how the server processes these requests and sends them back to the client. In the last section of this chapter we would be covering the MongoDB drivers and why they are used, what are the programming languages that are currently supported by MongoDB, and the MongoDB community availability of drivers. Chapter 2 covers the data entry part using MongoDB Compass after creating the database and collection using MongoDB Compass so that we can have some real data to work with our next chapters. Chapter 3 covers the introduction to PHP programming with MongoDB and how we can use PHP with MongoDB. In order to run PHP with MongoDB server, we should be having the right environment in place. So this chapter covers how we can set up the right environment to run PHP codes. In this chapter, we will learn what WAMP server is and how to install WAMP server. Later in this chapter, we will cover how we can set up MongoDB with PHP and WAMP server. In the last section of this book, we would be doing some coding and running some practical examples to connect and work with MongoDB server using PHP. Chapter 4 covers the introduction to JavaScript programming language. We will learn Node.js programming with MongoDB and how we can use Node.js with MongoDB. In order to run Node.js with MongoDB server, we should be having the right environment in place. So this chapter covers how we can set up the right environment to run Node.js codes. In this chapter, we will learn what Node.js is and how to install Node.js. Later in this chapter, we will cover how we can set up MongoDB with Node.js. In the last section of this book, we would be doing some coding and running some practical examples to connect and work with MongoDB server using Node.js. Chapter 5 covers the introduction to React Native Mobile Framework and then we will learn how we can build Mobile-based Apps using React Native with MongoDB programming with MongoDB and how we can use Node.js with MongoDB. In order to run React Native and build Mobile Apps with MongoDB we should be having the right environment in place. So this
📄 Page 14
chapter covers how we can set up the right environment to run React Native codes. In this chapter, we will learn what React Native is and how to install React Native. In the last section of this book, we would be doing some coding and running some practical examples to connect and work with MongoDB Server using React Native. Chapter 6 covers the introduction to Python programming language and Python programming with MongoDB and how we can use Python with MongoDB. In order to run Python with MongoDB server, we should be having the right environment in place. So this chapter covers how we can set up the right environment to run Python codes. In this chapter, we will learn what Python is and how to install Python. Later in this chapter, we will cover how we can set up MongoDB with Python. In the last section of this book, we would be doing some coding and running some practical examples to connect and work with MongoDB server using Python. Chapter 7 covers the topics related to real application development as we are now going to start with the step by step web and mobile application development part involving various languages and frameworks like PHP, JavaScript (Node.js), Python, and React Native along with MongoDB. In this chapter, we would be learning about the application and software development terms like frontend, backend, and full stack development and try to understand the various technologies, frameworks, and stacks that are used in these various types of applications. In the later part of this chapter, we will cover the applications that we are going to develop in our next chapters and at last, we will cover an overview of various technologies and tools that we would be using to develop our web and mobile apps in our next chapters. So this chapter would be interesting for an overall overview of the next chapters which are related with the step by step full stack web and mobile application development of this book. Chapter 8 covers the practical step by step development of CRUD based backend application using PHP and MongoDB along with frontend languages like HTML, CSS, and JavaScript. In this chapter, we will learn how to create a backend catalog of a Publication House. This chapter starts with the Overview of our web application development using PHP and MongoDB, basic requirements, and some pre-development steps which are required to be performed before we start developing our application. Later in this chapter, we will learn how we can create a dashboard for our application and various
📄 Page 15
other related functionalities required for the overall development of the catalog management system for a Publication House. In this chapter, all the sections have been explained in step by step practical manner so that by the end of this chapter you feel more confident in PHP and MongoDB application development. Chapter 9 covers the practical step by step development of REST Based APIs using Node.js, Express.js, and MongoDB along with Node.js extensions like Body Parser. In this chapter, we will learn how to create APIs for a Publication House. This chapter starts with the overview of our API development using Node.js, Express.js, and MongoDB, basic requirements, and some pre-development steps which are required to be performed before we start developing our web services. Later in this chapter, we will learn how we can use various REST-based methods and various other related functionalities required for the overall development of APIs for a Publication House. In this chapter, all the sections have been explained in step by step practical manner so that by the end of this chapter you feel more confident in Node.js, Express.js, and MongoDB web services and API development. Chapter 10 covers the practical step-by-step development of a mobile app developed using React Native and MongoDB. We will learn how to create a mobile app for a publication house and will start with the overview of our mobile app development using React Native, Expo, Expo CLI, Node.js, Express.js, and MongoDB. We will learn how to add the “Thumbs Up” and “Thumbs Down” functionality and how to store their counts in the MongoDB database using the API calls. In this chapter, all the sections have been covered step by step and detailed manner. Chapter 11 covers the practical step by step development of frontend application developed using Python and MongoDB. In this chapter, we will learn how to create a website for a Publication House. This chapter starts with the overview of our frontend development using Python, Django, PyMongo, and MongoDB. We will start this chapter with basic requirements. Later in this chapter, we will learn how we can build the various functionalities of the frontend application like displaying the book catalogue list and displaying the book cover images, total number of “Thumbs Up” and “Thumbs Down” for that particular book using the Python and its Django framework with the help of Python’s official MongoDB driver. In this chapter, all the sections have been explained in Step by Step Practical Manner so that by the end of this
📄 Page 16
Chapter you feel more confident in Dynamic Python Application Development with MongoDB.
📄 Page 17
The four applications covered in this book A Sneak Preview This book covers the step-by-step practical development along with screenshots for almost every step. You will learn to develop the following 4 software applications using 4 different languages. One Database – 4 Apps Backend Catalogue of a Publication House – CRUD Functionality with PHP and MongoDB Figure 0.1: Application Dashboard Page
📄 Page 18
Figure 0.2: Add new book page REST API Development – Creating a RESTful Web Services of a Publication House – API Development using Node.js and MongoDB Figure 0.3: API Calls using Postman
📄 Page 19
Figure 0.4: MongoDB Compass—verifying the documents updated by our API calls Figure 0.5: Adding dummy book with our API Mobile App Development – Creating a Mobile App of a Publication House – Data Driven Dynamic Mobile App Development using React Native and MongoDB using API Calls
📄 Page 20
Figure 0.6: Thumbs Up and Thumbs Down Functionality Figure 0.7: Expo dev tools > run on android device/emulator
The above is a preview of the first 20 pages. Register to read the complete e-book.

💝 Support Author

0.00
Total Amount (¥)
0
Donation Count

Login to support the author

Login Now

Recommended for You

Loading recommended books...
Failed to load, please try again later
Back to List