Skip to content

Client application for traditional Chinese medicine practitioners and patients.

Notifications You must be signed in to change notification settings

danwillcoder/dao-book_frontend

Repository files navigation

Dao Book

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.

Tech Stack

Client: Vite, React, React Router, TailwindCSS.

Server: Node, Express, Mongo, Mongoose (repo here)

Libraries

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

Installation

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 dev

Other installation may be possible with npm. EG:

  # ... as above
  npm install
  npm run dev

Testing

This project is unit & integration tested with Vitest and React Testing Library. To run unit tests, install as above, then run the below.

pnpm test

This 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 test

From a production perspective, User Acceptance Testing is visible here.

Authors

About

Client application for traditional Chinese medicine practitioners and patients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages