Skip to content

vipinnagar8700/VipPatient-PatientDashboard

Repository files navigation

Getting started

First, install the dependencies using npm install or yarn install.

Then, run the development server:

yarn start
# OR
npm run start

Then, open http://localhost:3000 with your browser to see the result (if it doesn't open automatically).

You can start editing pages or components. The page auto-updates as you edit and save a file.

List of commands:

MedUX is based on Create-React-App template.

craco start

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

The page will reload when you make changes.
You may also see any lint errors in the console.

craco 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.

react-scripts eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them.

How to customize icon font

You can import selection.json back to the IcoMoon app using the Import Icons button (or via Main Menu → Manage Projects) to retrieve icon selection.


File structure

.
├── public                  # static files
│   ├── favicon             # favicon files
│   ├── index.html          # main HTML file
├── src                     # source files
│   ├── assets              # media
│   ├── components          # reusable components shared across the app
│   ├── constants           
│   ├── contexts            # context providers
│   ├── db                  # dummy data
│   ├── fonts               # local fonts (including icomoon)
│   ├── hooks               
│   ├── layout              # app layout components (sidebar, grid, etc.)
│   ├── pages               
│   ├── store               # redux store (main store file, features)
│   ├── styles              # global app styles, keyframes, variables
│   ├── UI                  # UI components (buttons, inputs, etc.)
│   ├── utils               # helper functions (dates formatting, etc.)
│   ├── widgets             
│   ├── App.jsx             # main app component
│   ├── AppLayout.jsx       
│   ├── index.js            # main entry point
│   ├── layouts.js          # app layouts
│   └── ...
├── babel-plugin-macros.config.js   # babel macros config (for styled-components)
├── craco.config.js                 # Create React App config overrides (aliases, etc.)
├── jsconfig.json                   # IDE config
└── ...

Libraries