BlackIQ / react-mui-tutorial

The project that we covered MaterialUI in a React app to create a task manager front-end.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React + MUI

In this course you learn how to use MUI components in your React applications. But, what is MUI?

MUI offers a comprehensive suite of UI tools to help you ship new features faster. Start with Material UI, our fully-loaded component library, or bring your own design system to our production-ready components.

JSON Server

I used a json server to store data in a json file. The structure of how to use the json server is like this:

npx json-server --watch <path> --port <port>

Like:

npx json-server --watch data/db.json --port 8000

API

When we setup a json server, we need to use some methods to fetch data or post some data to it.

I usually use Axios. If you want to learn about Axios, check out this course about React + Axios.

Application

This is a TODO manager that I focused in MUI. Layout in web and mobile is different. How?

In web, we have a drawer like this:

Web tasks

But, in mobile, Drawer will be hide and a bottom navigation will be show!

Mobile tasks

Where we add task is a page you can see on the left side, if you go to the page, layout will be like this:

Web add

Layout in mobile has no differences with web.

Mobile add

About

The project that we covered MaterialUI in a React app to create a task manager front-end.


Languages

Language:JavaScript 86.1%Language:HTML 11.4%Language:Sass 2.5%