Skip to content

ZHANGJialiHappy/dashboard

Repository files navigation

Inspired by

I designed an admin dashboard, this dashboard is a part of my design.

Stack

  1. TypeScript
  2. Recharts
  3. Tailwind CSS
  4. DaisyUI
  5. react-router-dom
  6. React

Demo

Check my application on gh-pages.

Steps

  1. Scaffold React app with TypeScript
  2. Install Tailwind CSS and DaisyUI
  3. Create Router path
  4. Structure files: pages, components
  5. Create dashboard homapage
  6. Import Recharts library
  7. Create charts components
  8. Import charts components in Dashboard homepage
  9. Reuse charts components in Profit Analysis and Users' Analysis
  10. Deploy

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published