
Master a basic Postman overview for RESTful API design, using history and collections to organize requests, inspect responses, and leverage code snippets and the console.
Use http content-type and accept headers to send json in the request body and request a specific response format, such as json or xml, during user profile creation.
Learn to download the MySQL community server for Mac, run the installer, and set a secure admin password to log in and start the MySQL server.
Start and manage a MySQL 8.0.11 server on macOS using the terminal, with commands to start, stop, restart, log in as root, and troubleshoot common issues.
Download and install Spring Tool Suite, an eclipse-based development environment customized for Spring applications, to develop, debug, run, and deploy restful web services with Spring and Spring Boot.
Create a new Spring Boot project in Spring Tool Suite, selecting workspace, configuring group and artifact, and adding the web dependency via Maven. Understand the pom.xml and project structure.
Create a new Spring Boot project quickly with Spring Initializr, selecting Maven, Java, and the Web dependency to enable RESTful web services, then import into your preferred IDE.
Learn to run a Spring Boot web service, with embedded Tomcat, and test crud operations on /users using Postman, guided by Spring annotations.
Create a user details request model with fields first name, last name, email, and password, exposing getters and setters to map incoming JSON to a Java object.
Create a shared user DTO for UI, database, and service layers; implement serializable with serialVersionUID and include fields like id, userId, firstName, lastName, email, password, and email verification status.
Check for existing users by email, using a find by email method; if found, throw a runtime exception 'record already exists' and let Spring Boot format JSON or XML.
Implement a bcrypt password encoder bean from the Spring framework security crypto package, wire it into the user service, and encrypt the user password before storing it in the database.
Implement the successfulAuthentication method to generate a JWT access token using the authenticated user's username, sign it with a secret key, and return it in the HTTP response header.
Implement a custom authorization filter that reads the json web token from the authorization header, validates it, and populates the security context for protected endpoints in a stateless setup.
Run a spring boot app and test user authorization with a JWT token, showing that post /users is public while protected endpoints require a valid authorization header.
Add a find by user id method to the user repository, using Spring Data JPA to auto-generate the SQL query and return a user entity.
This is a very practical video course aimed at beginner Java developers to help them build their very first RESTful Web Service application with Java, Spring Boot and Spring Data JPA to implement features like:
User sign-up and User sign-in,
Email verification,
Password Reset,
Get user details API call,
Get a list of users API call and implement Pagination,
Update user details and Delete user details API calls,
Learn to secure Web Service endpoints with Spring Security,
Learn to use Amazon AWS Simple Email Service(SES) to send and request to confirm the user email address,
and learn to generate and include the JSON Web Token in HTTP Request.
Students will learn how to use Postman HTTP client software to send: HTTP POST, GET, DELETE and PUT requests, as well as how to set needed HTTP Headers. We will also cover how to:
Send data to your RESTful WebService via HTTP Body and,
How to pass data via URL Query String and as a Path parameter,
How to enable your RESTful Web Service to respond to Cross-Origin AJAX HTTP Requests.
You will also learn how to make your RESTful Web Service accept and respond back with JSON or XML media type.
In this video course you will learn how to:
Download and install Spring Tool Suite(STS),
Download and install MySQL server and MySQL Workbench GUI,
Download and run Apache Tomcat,
Add a specific Apache Tomcat Version to your Spring Tool Suite,
User Maven to build and run your project as well as package it into a deployable WAR file,
You will also learn how to run your Web Service as a stand-alone Java application with build-in Tomcat,
Deploy your RESTful Web Service to Apache Tomcat as well as,
Startup your own Amazon AWS EC2 Service in Amazon Cloud, install Java, MySQL, Tomcat, and deploy RESTful Web Service to your very own cloud server.
You will also learn how to deploy your application to AWS Beanstalk
This video course also covers the H2 in-memory database and teaches how to build a RESTful Web Service that stores data in a database without a need to install MySQL or any other database server. You will also learn how to use the H2 console to preview data stored in an in-memory database tables or in a MySQL database server.
When it comes to storing data in a database you will learn how to use Spring Data JPA Query Methods as well as Native SQL Queries.
You will also learn how to use JUnit 5 to test your code and how to use one of the most popular test frameworks called Rest Assured to test RESTful Web Service endpoints of your REST API.