
Learn to build a to-do list desktop app using React and Electron, create a RESTful API to manage to-dos, and perform add, update, and delete operations.
Identify prerequisites for building the todo app, including docker installed, a Postgres-capable IDE, and Vapor setup; bootstrap a project from Postgres template on GitHub and open it in VS Code.
Understand the project structure and docker setup, including compose build and services, migrations, and routes, with a todo model and controller for getting and creating todos, and environment configurations.
Extend the Swift todo model by adding a completed boolean and run migrations with Docker Compose to set up a Postgres database, exposing tables with id, title, and completed.
Run and troubleshoot the Vapor API with Docker, using compose down and -v to wipe data, access routes like /todos and hello world, and restart from UI or command line.
Learn to fetch a to do by its ID in a Vapor Swift app, using the show method to query the database and handle not found.
Implement the update todo request by getting the id from request parameters, decoding the update payload, updating the title and completed fields, and saving the changes during build and run.
Delete a to-do by its id, remove it from the list, and verify the to-dos array is empty after deletion.
Learn to create an electron desktop app using electron builder and the react electron boilerplate, clone the repo, run npm install, and start the app with npm start.
Install and integrate Ant Design, import its CSS, and add a Button component to the Electron React app. Explore button variants and consult component docs to understand available types.
Create a todo service to connect to a restful api by defining a base url and a todo interface, then implement fetch methods to load, get, update, and delete todos.
Implement create, update, and delete operations for todos via the service using a base url. Send JSON payloads with application/json and JSON.stringify, updating by id and deleting by id.
Create a to do list component in a new components folder using useEffect, useState, and useCallback, with Ant Design UI and a dedicated CSS file.
Manage the to-do list state by loading todos from JSON, setting active and completed items, and implementing a refresh with a memoized on-refresh callback and use effect.
Create a modular to-do list interface by building separate components for tabs, a to-do tab, and a to-do item using React and tsx, with props for remove and toggle actions.
Create a to do item component with remove and toggle props, wrapped in list item with a tooltip, switch, and pop confirm to remove, and export item and tab components.
Add todo tabs and create methods to modify and view to-dos, including toggling completion, deleting items, and handling form submissions to add new active and completed todos.
Add a to-do form component to a React and Electron app, wiring input and submit with validation and layout, and export the form to integrate with the to-do list.
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 Swift, Vapor and React Electron. It focuses heavily on designing a backend RESTful Web Service with CRUD functionality that sends data to a React Electron 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, Swift, Vapor, 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
React Hooks
React Functional Components
HTTP Requests with Fetch
CRUD Methods
Swift, Vapor
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 React Electron and Swift, Vapor.