
Build a full stack server manager app with a spring boot api connected to a database and an angular frontend. Focus on filtering, editing, pinging, and reporting server status.
Define a Spring Boot web app domain for a server entity with id, IP address, name, memory, type, image URL, and status, using JPA, Lombok, and validation.
Create a server repository that extends the JPA repository to manage server data and enable save, delete, list operations, including find by IP address and ensure IP addresses are unique.
Define and implement a server service interface with create, list, get, update, delete, and ping operations backed by a JPA repository and a concrete implementation that updates the ui status.
Implements a Spring Boot service that wires the server repository via Lombok, logs actions, saves servers with images, and pings servers by IP to update status.
Implement server management with paging, fetching by id, updating, and deleting servers using a repository and JPA, converting pages to lists, and handling limits.
Implement random server image assignment by defining an image names array of server images, selecting a random index with nextInt(4), and constructing the URL for the selected server image.
Create a reusable Spring Boot response model with timestamp, status, reason, message, developer message, and data, and use it in a controller for consistent API replies.
Create a server resource rest controller with a get mapping to /servers/list, inject the server service, and return a response entity containing servers data and ok status.
Implement ping and save endpoints for server resources, capturing ip address via a path variable and validating the request body, returning statuses like ping success, server up, and server created.
Build a Spring Boot API to manage servers by id, including get, delete, and image retrieval endpoints, with seed data via command line runner.
Learn how to test your Spring Boot API endpoints with Postman, including listing servers, retrieving by ID, saving new servers, testing image URLs, and pinging hosts.
Set up the Angular front end with the Angular CLI, create a single-page app, and explore a reactive approach using the ARGS library to map server statuses.
Create a server interface and a data state enum to model loading, loaded, and error states, and define a custom response interface to map backend data to the frontend.
Represent the entire application state with a generic app state interface, including a data state (loading, loaded, error) and optional data or error values, enabling a reactive state management approach.
Create a reactive Angular server service that uses HttpClient to fetch the server list from the backend, map responses to the app state, and handle errors with tap and catchError.
Implement post save for servers by sending the server as the request body, including an IP address in the ping flow, and handle errors with a typed http error response.
Filter servers by status using an observable in a server service, override response messages for up or down states, and return filtered data to the UI with RxJS techniques.
In this tutorial, you will learn and understand how to create a Spring Boot back-end API that will connect to a MySQL database server. Then create an Agular application to interact with the API using HTTP. You will also learn some basics of RxJs and application state management.
This course teaches how to use create an API from scratch. This course also dives into defining and creating API, exposing API Endpoints over HTTP, and handling HTTP Requests and File Upload through API Endpoints. It covers testing API Endpoints (using an HTTP client - Postman).
This course is short and focuses only building the API and having a front end application, in our case an Angular application, to communicate with that back end API. If you would like to learn more and build a full stack application and see how of this in practice, and way much more, please refer to my other course on Udemy, JSON Web Token (JWT) with Spring Security And Angular.
In this tutorial, you will learn and understand how to create a Spring Boot back-end API that will connect to a MySQL database server. Then create an Agular application to interact with the API using HTTP. You will also learn some basics of RxJs and application state management.
This course teaches how to use create an API from scratch. This course also dives into defining and creating API, exposing API Endpoints over HTTP, and handling HTTP Requests and File Upload through API Endpoints. It covers testing API Endpoints (using an HTTP client - Postman).
In this course, you will learn how to build your very own API, along with an Angular application that will use and consume this API. This course teaches how to use JWT (JSON Web Token) Authentication & Authorization with Java, Spring Security to secure API, Stateless Session Policy management with Spring Security along with password encryption. It covers Entity Management, Relationship, and Mapping to Database (MySQL) using the Java Persistence API (JPA). It covers managing User Security Roles. This course also dives into defining and creating API, exposing API Endpoints Over HTTP, and handling HTTP Requests and File Upload through API Endpoints. It covers testing API Endpoints (using an HTTP client).