Introduction
  • Source Code
  • Install HTTP client Postman
  • Postman overview
  • Resource and Collection URIs
  • HTTP Methods: GET, POST, DELETE and PUT
  • HTTP Headers: Accept and Content Type
  • Introduction to Web Service Application Layers
  • A few suggestions
Download, Install and run MySQL Database on Local Computer
  • Downloading and Installing MySQL on MAC
  • Start MySQL Server and Login
  • Creating MySQL Database and a new User
  • Downloading and Installing MySQL Workbench
  • Connect to MySQL Database using MySQL WorkBench
  • MySQL WorkBench brief overview
Setup Development Environment
  • Install Java Platform (JDK)
  • Download and Install Spring Tool Suite(STS)
Getting Started. Creating a New Project.
  • Create new Spring Boot Project with Spring Tool Suite
  • Creating a new Spring project using Spring Boot Initializr
Quick Start
  • Create Users Rest Controller class
  • Adding Methods to Handle POST, GET, PUT, DELETE HTTP requests
  • Running Web Service Application
Adding MySQL Database Support
  • Update POM.XML file
  • Configure MySQL Database Access Details
Implementing User Sign up
  • Adding method to handle HTTP Post Request
  • Implementing the Create User Request Model class
  • Implementing Create User Response Model
  • Implementing the UserDto
  • Making use of UserRest and UserDto in RestController
  • Implementing Service class method
  • Implementing UserEntity class
  • Set Default Value for Email Verification Status field
  • Implementing UsersRepository class
  • Autowire UserRepository into Service class
  • Trying how the User Sign up works
  • Preventing Duplicate Entries with @Column(unique=true)
  • Check if user already exists
  • Generate User Public ID
Spring Security for User Sign-up
  • Adding Spring Security to our project
  • Encrypt User Password
  • Make the Sign-up Web Service Endpoint Public
Spring Security for User Sign-in
  • Implementing User Sign-in Request Model
  • Implementing Load User By Username
  • Implementing SecurityConstants class
  • Implementing Authentication Filter
  • Trying how user Sign-in works
  • Add public User ID to a Response Header
  • Customize User Authentication URL
  • Implementing Authorization Filter
  • Trying how User Authorization works
  • Making Your REST API Stateless
  • Reading Token Secret from a property file
Implementing Get User Details Web Service Endpoint
  • Get User Details Resource Method
  • Implement Service layer method
  • Update UserRepository
  • Trying the Get User Details API Call
Adding XML Support & JSON Support
  • Update POM.XML
  • Responding with XML or JSON
  • Consuming XML or JSON
Exceptions Handling
  • Introduction
  • Implementing ErrorMessages enum
  • Implementing UserServiceException
  • Handle a Specific Exception
  • Return Custom Error Object Representation
  • Handle All Other Exceptions
Update User Details API Call
  • Update User Details Resource Method
  • Implementing Service Layer Method
  • Trying the Update User Details API Call
Delete User API Call
  • Delete User Resource Method
  • Implementing Service Layer Method
  • Trying the Delete User API Call
Pagination and Get Users API Call
  • The Get Users Request URL
  • The Get Users Resource Method
  • Get Users Service Layer Method
  • Trying the Get Users API Call
Deploying Your App
  • Running Your Web Services App without STS
  • Create Context Path to Your Web Service
  • Run Your App as a Java application
  • Generating WAR file
  • Install Apache Tomcat on Windows
  • Downloading Apache Tomcat on Mac
  • Starting and Stopping Apache Tomcat
  • Creating a new Apache Tomcat User
  • Deploying Your Web Service to Apache Tomcat
Deploying to Amazon Cloud. AWS EC2.