Akb#485
Conversation
…ярлыки, рекомендации, состав
|
👋 @qnafin 💖 Thanks for opening this pull request! We use semantic commit messages to streamline the release process. Examples of commit messages with semantic prefixes:
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (132)
📝 WalkthroughWalkthroughThis PR establishes the complete PostgreSQL database infrastructure for the Essence food service application, including migrations, schema definitions, and seeding scripts. The monolithic channel service is refactored into modular components, and the gateway API is extended to support leads, services, and reviews. ChangesDatabase Infrastructure & Service Setup
🎯 4 (Complex) | ⏱️ ~60 minutes Possibly Related PRs
Suggested Labels
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary by cubic
Move Essence to PostgreSQL with
drizzle-ormand add a full DB-backed catalog, orders, services, reviews, and lead capture. Split channel config (delivery/payment/links) with env-driven company details and updated web UI for services, media gallery, and lead forms.New Features
drizzle-orm/pgwith full schema, migrations, and seeds (products, categories, variants, badges, ingredients, composition, recommended, orders, leads, services, reviews).db:generate,db:migrate,db:push,db:studio,db:seed.leadsfor requests and VK notifications; updated storefront gateway for lead creation..env.exampleand ignore local*.dbfiles.Migration
apps/essence/.envfrom.env.exampleand setPOSTGRES_URL,VK_ACCESS_TOKEN,YOUR_NAME,PHONE_NUMBER,EMAIL,INN,OGRN,LOCAL_CITY,LOCAL_ADDRESS.apps/essence, run:pnpm db:migratethenpnpm db:seed.Written for commit efab907. Summary will update on new commits.
Summary by CodeRabbit
New Features
Chores