This project is part of Amrutam Pharmaceuticals. It provides routine dashboard for doctors to manage their routines, patients, and other related tasks.
Follow these steps to set up the project on your local machine:
Ensure you have the following software installed on your local machine:
git clone https://github.com/subarnabsadhukhan/Routine-Dashboard-for-Doctors.git
cd Routine-Dashboard-for-Doctors
Using npm:
npm install
Or using Yarn:
yarn install
To run the project locally, use the following command:
Using npm:
npm run dev
Or using Yarn:
yarn dev
This will start the development server and you should see an output similar to:
VITE v2.x.x ready in x.xs
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
Open your browser and navigate to http://localhost:3000/
to see the application running.
To create an optimized production build, use the following command:
Using npm:
npm run build
Or using Yarn:
yarn build
The output will be in the dist
directory. You can serve this directory using a static server or deploy it to a hosting provider.
The project is structured as follows:
src/
- Contains the source code of the application.App.jsx
- Main App component.main.jsx
- Entry point for the application.assets/
- Assets such as images, fonts, etc.components/
- Reusable components.pages/
- Page components.ui/
- UI components.context/
- Context providers.hooks/
- Custom React hooks.
public/
- Static assets.index.html
- Main HTML file.package.json
- npm/Yarn dependencies and scripts.README.md
- Project documentation.vite.config.js
- Vite configuration file.
If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch-name
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch-name
). - Open a pull request.