2025-07-05 23:49:35 +05:30
2025-07-05 23:49:35 +05:30
2025-06-18 21:39:39 +05:30
2025-06-12 19:45:32 +05:30
2025-06-27 23:10:02 +05:30
2025-06-27 23:10:02 +05:30
2025-06-30 19:45:32 +05:30
2025-05-08 21:27:29 +05:30

Dental Manager - Starter

A monorepo setup to manage both Backend and Frontend of the Dental Manager application.

🚀 Getting Started

Follow the steps below to set up and run the project:

  1. Install dependency
npm install
  1. Copy Environment Variables

Create .env files from the provided .env.example templates: Change the required ones env in .env files.

npm run setup:env
  1. Generate Prisma, and its Types.
  • Migrate the db:
npm run db:migrate
  • Generate the db types:
npm run db:generate
  1. To Simply run all the app(Backend + Frontend).
npm run dev
  1. Now you need to run the selnium service as well in new terminal.
cd apps/SeleniumService
python3 agent.py

This in a Turborepo. What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

  • docs: a Next.js app with Tailwind CSS
  • web: another Next.js app with Tailwind CSS
  • ui: a stub React component library with Tailwind CSS shared by both web and docs applications
  • @repo/eslint-config: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • @repo/typescript-config: tsconfig.jsons used throughout the monorepo

Each package/app is 100% TypeScript.

Building packages/ui

This example is set up to produce compiled styles for ui components into the dist directory. The component .tsx files are consumed by the Next.js apps directly using transpilePackages in next.config.ts. This was chosen for several reasons:

  • Make sharing one tailwind.config.ts to apps and packages as easy as possible.
  • Make package compilation simple by only depending on the Next.js Compiler and tailwindcss.
  • Ensure Tailwind classes do not overwrite each other. The ui package uses a ui- prefix for it's classes.
  • Maintain clear package export boundaries.

Another option is to consume packages/ui directly from source without building. If using this option, you will need to update the tailwind.config.ts in your apps to be aware of your package locations, so it can find all usages of the tailwindcss class names for CSS compilation.

For example, in tailwind.config.ts:

  content: [
    // app content
    `src/**/*.{js,ts,jsx,tsx}`,
    // include packages if not transpiling
    "../../packages/ui/*.{js,ts,jsx,tsx}",
  ],

If you choose this strategy, you can remove the tailwindcss and autoprefixer dependencies from the ui package.

Utilities

This Turborepo has some additional tools already setup for you:

Description
No description provided
Readme 31 MiB
Languages
TypeScript 76.1%
Python 23.7%
CSS 0.1%