Prescripto Admin is a modern, responsive admin dashboard built with React and Vite. It provides a comprehensive interface for managing appointments, patients, doctors, and earnings, making it ideal for healthcare administration and clinic management.
- ⚡ Fast Development: Powered by Vite for lightning-fast builds and hot module replacement.
- 🧩 Component-Based: Modular React components for maintainability and scalability.
- 🎨 Tailwind CSS: Utility-first CSS framework for rapid UI development.
- 🔒 ESLint Integration: Enforced code quality with custom ESLint configuration.
- 🔄 React Router: Seamless navigation between pages.
- 📦 API Ready: Easily integrate with REST APIs using Axios.
- 📅 Appointment Management: Manage appointments, patients, and doctors efficiently.
- 📊 Dashboard Analytics: Visualize earnings and other key metrics.
- 🖼️ Rich Asset Library: Includes SVG icons for UI consistency.
.
├── public/ # Static assets
├── src/
│ ├── assets/ # SVGs and asset management
│ ├── components/ # Reusable React components
│ ├── context/ # React context providers
│ ├── pages/ # Application pages (Dashboard, Patients, Appointments, etc.)
│ ├── App.jsx # Main app component
│ ├── index.css # Global styles (Tailwind)
│ └── main.jsx # Entry point
├── .env # Environment variables
├── package.json # Project metadata and scripts
├── tailwind.config.js # Tailwind CSS configuration
├── vite.config.js # Vite configuration
├── eslint.config.js # ESLint configuration
└── README.md # Project documentation
-
Clone the repository:
git clone https://github.com/HarshSharmaIN/prescripto-admin.git cd prescripto-admin -
Install dependencies:
npm install # or yarn install -
Start the development server:
npm run dev # or yarn devThe app will be available at http://localhost:5174.
npm run build
# or
yarn buildnpm run lint
# or
yarn lint-
Environment Variables:
Create a.envfile in the root directory to store sensitive configuration (API keys, endpoints, etc.).VITE_BACKEND_URL=Backend Url of Prescripto App VITE_STREAM_API_KEY=Stream API Key
-
Vite Config:
Seevite.config.jsfor dev server and plugin setup. -
ESLint:
Custom rules are defined ineslint.config.js. -
Tailwind CSS:
Tailwind is configured intailwind.config.jsand imported insrc/index.css.
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run lint |
Run ESLint |
npm run preview |
Preview production build |
- React
- Vite
- Tailwind CSS
- Axios
- React Router DOM
- Framer Motion
- React Hot Toast
- React Toastify
- Lucide React