
Learn to build a todo list app using Svelte and a RESTful API, with add, toggle, and delete features, and create web components via the Svelte single page application framework.
Install the OpenJDK locally using Adopt JDK, selecting version 11 and the first JVM option; download and install, then verify with java -version.
Choose IntelliJ, a JetBrains IDE, for faster Java development and access to database tools, using the early access program and free trial to speed workflows.
Create a Spring Boot project using Spring Initializer with Java and Gradle, naming the app API. Include Lombok, Spring Web, Spring Data JPA, Flyway migrations, and Postgres.
Configure the Spring Boot data source with a Postgres JDBC URL, localhost, port, username, and password, then test the connection and finalize the database driver setup.
Create a jpa entity for to-dos with jpa buddy, include id with identity strategy, title string, and completed boolean, and add lombok getters/setters before creating a jpa repository.
Generate flyway migrations by diffing models against the database to create a to-do table with id, title, and completed fields, then review the SQL and how migrations run on startup.
Create a Spring Boot to do controller in mx controllers, annotate as rest controller with post mapping, inject todo repository, and post todo with request body to save it.
Build get requests in Spring Boot by exposing an API to view all todos and fetch a single todo by its id, using path variables and Lombok for type inference.
update todo items in spring boot using a put mapping with a path variable id and a request body dto, then save the updated todo.
Create a delete endpoint in Spring Boot with a delete mapping and a path variable id to remove a to-do by id, using repository.deleteById.
Generate a Svelte project with Vite using npm create, install dependencies, explore app.svelte and project structure, and run npm run dev to launch the dev server.
Install the carbon Svelte UI library (minimum v3.48) as a dev dependency; create a to-do service and store.js, and add to-do form and list components for the app.
Create a todo service with a URL and RESTful API, load and manage todos using fetch with JSON payloads, and set up a Svelte writable store for the todo list.
Clean project code in a Svelte to-do app by simplifying structure, applying center alignment and max-width styles, and integrating a to-do list component before connecting to a restful API.
Learn to load todos from a serverless rest backend using the on mount lifecycle in a Svelte component, and manage create, update, and delete operations with a todo service.
Add a todo list UI by exporting and wiring data with carbon data table components, including headers, rows, and toggle actions to update or delete todos.
Debug carbon UI by selecting the correct CSS theme from the documentation and applying it in app.svelte. Observe persistent styling as you toggle options and refresh.
Add a to-do form that binds a title input to the to-do list service, disables submit until the title has three or more characters, and defaults completed to false.
Unlock unlimited access to code brains.io courses with a 30% lifetime discount using the new 30 code, plus monthly updates, weekly contact, early access, and a dedicated forum.
If you're tired of long courses and just want to learn basic web development this course is for you. This course was built with the goal of teaching the students how to use Java, Spring Boot, and Svelte. It focuses heavily on designing a backend RESTful Web Service with CRUD functionality that sends data to a Svelte Front End Application. This is an entry-level course that focuses on building and reinforcing some of the techniques used by developers to build a full-stack application.
In this course, we start by learning what tools you need to create a full-stack Before taking this course, it is recommended that you have an understanding of skills such as Javascript, Java, Java, Basic SQL, or ORM development. If not we'll touch on some of those topics early in the course but it is still recommended to have a better understanding.
When going through this course you may come across subjects that you are familiar with as well as those that are completely new to you.
Some of the topics touched upon include
Svelte
HTTP Requests with Fetch
CRUD Methods
Java Programming Language
Spring Boot
Database Migrations
ORMs
When taking this course, please know that you can take your time because you will get access to support along the way. By the time you finish this course, you should feel comfortable creating a full-stack web application with Svelte, Java, and Spring Boot.