
Build a todo list app using React and Electron, create a RESTful API to feed the to-dos, and implement add, update, and delete operations.
Install the AdonisJS API setup by running npm init adonis ts app latest on the AdonisJS website, note the dot env file, and run node ace serve --watch.
Learn to install and configure an orm, create your first model with node ace, use make model with the dash m flag for migrations, and set up a Postgres database.
Configure environment variables, create a todo model and migration, add title and completed fields with default false, and run the migration to build the todos table.
Create a resourceful rest controller in AdonisJS, wiring routes and models to fetch, create, and update todo data using index, store, show, update, and destroy methods.
Explore how to fetch all todo rows, serialize results, and perform CRUD operations with the AdonisJS ORM, including create, find, update, and destroy, using model methods.
Explore the AdonisJS orm with methods like all, find, first, and firstOrFail, plus the query builder for where, update, and delete. Learn serialization, factories, and query scopes.
Run the rest api with node serve, create and manage todos via the api client, and explore building a basic JS rest api with optional authentication views and validation.
Learn to build a desktop app with Electron Builder and the Electron React Boilerplate, clone a branch, install dependencies with npm install, and run the app with npm start.
Install the Ant Design CSS framework in the electron react boilerplate, import its CSS, and use a design button from Ant Design while updating App.tsx and the app CSS.
Create a services folder and a to-do service to connect to a restful api, define a base url and a to-do interface with id, title, and completed.
Learn to add, update, and delete to-dos using a service with a base URL, post requests, and JSON payloads, including id, title, and completed fields.
Create a to-do list component in a components folder, wiring React state with useState, useEffect, and useCallback, and import ant design UI elements. Export component for use in the app.
Build and manage todo list state by loading todos from json, updating active and completed todos, handling errors, and using useCallback and useEffect to refresh data.
Create reusable to-do UI components, including a to-do tab and a to-do item, to display all and completed tasks with remove and toggle actions in AdonisJS and Electron React app.
Build a todo item component with remove and toggle props, a completion switch, color-coded status, and a confirm delete, enabling a todo tab with list rendering.
Add and manage to dos across tabs by implementing completion, deletion, and status toggling, handle form submission for new to dos, and preview active and completed items during app run.
Add a functional to-do form to a list using electron and react, wiring form submission, default values, and responsive layout with two columns for input and add button.
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 AdonisJS 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, AdonisJS, 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
AdonisJS
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 AdonisJS.