Posts

Send Email Using Spring Boot

Image
Hello everyone, today we will learn how to send an email via SMTP in Spring Boot. Technologies used:  Spring Boot 2.1.1.RELEASE  Java Mail 1.6.2 Maven 3  Java 8 Project Structure: Dependency Managemen(pom.xml): spring-boot-starter-mail will pull the JavaMail dependencies. <?xml version = "1.0" encoding = "UTF-8" ?> <project xmlns = "http://maven.apache.org/POM/4.0.0" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://maven.apache.org/POM/4.0.0  https://maven.apache.org/xsd/maven-4.0.0.xsd" > <modelVersion> 4.0.0 </modelVersion> <parent> <groupId> org.springframework.boot </groupId> <artifactId> spring-boot-starter-parent </artifactId> <version> 2.1.1.RELEASE </version> <relativePath /> <!-- lookup parent from repository --> </parent> <groupId&

React JS + Node JS + Express + MongoDB CRUD - MERN stack development example

Image
Hello everyone, today we will learn how to develop a MERN stack web application that is a basic User Management Application using MongoDB, Express, React JS, Node JS, and AdminLTE. GitHub repository link is provided at the end of this tutorial. You can download the source code.     Following technologies stack being used: Back-End: Node JS Express JS Mongo DB Front-End: React JS AdminLTE react-router-dom 5+ axios 0.19.2 bootstrap   Project Structure   Back-End:     Front-End:   After completing this tutorial what we will build?   1)We will build a MERN-stack web application that is a basic User Management  Application with CRUD features:  • Create User  • List User  • Update User  • Delete User    AND   2)How to integrate Admin Template In ReactJS?   Following is the screenshot of our application -   MERN stack App development   We will build two projects:  Node JS+Express JS: Back End React JS+AdminLTE: Front End   Project 1:BackEnd package.json { "name" : "