Dao Book is clinic management software built for Traditional Chinese Medicine (TCM) practitioners. This is the front end application written in Vite.
Visit the live site here.
Client: Vite, React, React Router, TailwindCSS.
Server: Node, Express, Mongo, Mongoose (repo here)
- Vite as its bundler, test runner, and configuration layer.
- React for UI, state management, interactivity.
- React Router for frontend routing.
- Axios for data fetching.
- ClassNames for easy conditional classes.
Additional libraries include Vitest, Playwright, ESLint and Prettier.
Install with pnpm
git clone https://github.com/danwillcoder/dao-book_frontend
cd my-project
pnpm install
# set up your env with correct values
pnpm run devOther installation may be possible with npm. EG:
# ... as above
npm install
npm run devThis project is unit & integration tested with Vitest and React Testing Library. To run unit tests, install as above, then run the below.
pnpm testThis project is E2E tested with Playwright. To run end-to-end tests, install as above, then run the below. You will be prompted if you need to install appropriate testing browsers.
# install browsers
# pnpm playwright install
pnpm playwright testFrom a production perspective, User Acceptance Testing is visible here.