Skip to content

ZHANGJialiHappy/register-form

Repository files navigation

Stack

  1. TypeScript
  2. Redux Toolkit
  3. Tailwind CSS
  4. DaisyUI
  5. react-router-dom
  6. react-hook-form
  7. yup

Demo

Check my application on gh-pages.

Steps

  1. Set up redux Toolkit
  2. Create Register Form
  3. Create Login Form
  4. Add React Router
  5. Add tailwind CSS
  6. Choose tailwind library - daisyUI
  7. Make register form
  8. Make login form
  9. Make Navbar
  10. Make reduce in register slice
  11. Autheticate user information in login form
  12. Create a homepage

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run deploy

> That will cause the `predeploy` and `deploy` scripts defined in `package.json` to run.
>
> Under the hood, the `predeploy` script will build a distributable version of the React app and store it in a folder named `build`. Then, the `deploy` script will push the contents of that folder to a new commit on the `gh-pages` branch of the GitHub repository, creating that branch if it doesn't already exist.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.