/hypercare-nx

Hypercare-task with react and ts setup. Additionally thrown in nxMonorepo to scale for the organization with added storybook based development and separate component library

Primary LanguageTypeScript

HypercareNx

This workspace has been generated by Nx, Smart Monorepos · Fast CI.

Install dependencies using PNPM (ideal)

⚠️ Node > ^20.0.0 preferred with pnpm > ^8.0.0 👉 Instructions can be followed here pnpm install

Start the application

🚀 Run npx nx dev @hypercare/public to start the development server. Happy coding!

Run Test Suites

🚦Run npx nx test @hypercare/public to run tests!

Run Storybook Dev Server

📚 Run npx nx storybook @hypercare/ui to start the storybook server to view and build components in isolation

Build for production

⚒️ Run npx nx build @hypercare/public to build the application. The build artifacts are stored in the output directory (e.g. dist/ or build/), ready to be deployed.

Notes to Remember

  • The UI Library is a separate project that can be found under the libs folder, and then navigating to the hypercare-ui folder. The storybook stories are also available there.
  • The main application for the hypercare project can be found under apps/hypercare-public
  • Some types like "user", has also been put into a separate lib with the intention for sharing types with the backend, or if the apps decide to go on a microfrontend system
  • The CSS utilizes tailwindCSS