2025-07-02 09:22:03 +03:00
2025-07-01 23:56:21 +03:00
2025-06-30 21:11:18 +03:00
2025-07-01 23:29:50 +03:00
2025-07-01 23:29:50 +03:00
2025-04-30 13:29:42 +03:00
2025-06-16 14:34:04 +03:00
2025-06-26 16:11:11 +03:00

MedReport README

Prerequisites

"node": ">=20.0.0",
"pnpm": ">=9.0.0"

Project structure

/ app - pages
/ components - custom components, helper components that not provided by any package. Place to extend an redefine components from packages
/ config - bunch of configs, that are provided by starter kit.
/ content - (temporary?) - to be removed when cleaned all dependencies
/ fonts - (temporary) - contains fonts, should be relocated to another place (maybe public)
/ lib - diffirent libs, services, utils
    - fonts.ts - project fonts setup, which becomes available as a global css variable
    / i18n - translations/localization setup
/ public - public assets
    / locales - translations under a corresponding local - at a specific namespace
/ styles - all styles of the projects, including tailwind variable setup
    - global.css - Global styles for the entire application, a place where should apply variables to global selectors
    - shadcn-ui.css - A place where all global variables are defined for color, sizes and etc, that are used in theme.css. Variables defined here and in theme.css are available as tailwindcss property-class
    - theme.css - more specific variables,  available as tailwindcss property-class
    - makerkit.css - Makerkit-specific global styles
    - markdoc.css - Styles for Markdoc Markdown files.
    -
/ supabase - primary supabase
/ tooling - a workspace package, used for generation packages in node_modules and provides global links for its data. The most important is typescript config
/ utils

Migration from old structure

pnpm clean
pnpm i

Adding new dependency

pnpm add <pacakge-name> -w

Supabase

Start supabase in docker

npm run supabase:start

Link your local supabase with a supabase project

npm run supabase:deploy

After editing supabase tables/functions etc update migration files

npm run supabase:db:diff

To update database types run:

npm run supabase:typegen:app
Description
No description provided
Readme 12 MiB
Languages
TypeScript 80.9%
PLpgSQL 15.6%
HTML 1.5%
CSS 0.8%
Roff 0.6%
Other 0.5%