├── pnpm-workspace.yaml
├── apps
├── frontend
│ ├── src
│ │ ├── components
│ │ │ ├── create-product
│ │ │ │ ├── create-product.css
│ │ │ │ └── create-product.tsx
│ │ │ ├── products-list
│ │ │ │ ├── products-list.css
│ │ │ │ └── products-list.tsx
│ │ │ ├── create-store
│ │ │ │ ├── create-store.css
│ │ │ │ └── create-store.tsx
│ │ │ ├── store-actions
│ │ │ │ └── store-actions.tsx
│ │ │ ├── welcome
│ │ │ │ ├── welcome.css
│ │ │ │ └── welcome.tsx
│ │ │ ├── lottie-animation.tsx
│ │ │ ├── dashboard-store-layout.tsx
│ │ │ ├── twa-display-gate.tsx
│ │ │ └── success
│ │ │ │ └── success.tsx
│ │ ├── vite-env.d.ts
│ │ ├── App.css
│ │ ├── pages
│ │ │ ├── market
│ │ │ │ ├── product
│ │ │ │ │ └── product-id
│ │ │ │ │ │ ├── styles.css
│ │ │ │ │ │ └── index.tsx
│ │ │ │ ├── order
│ │ │ │ │ ├── index.tsx
│ │ │ │ │ └── order-id.tsx
│ │ │ │ ├── store
│ │ │ │ │ └── store-id
│ │ │ │ │ │ └── index.tsx
│ │ │ │ ├── index.module.css
│ │ │ │ ├── cart.module.css
│ │ │ │ ├── index.tsx
│ │ │ │ └── cart.tsx
│ │ │ └── dashboard
│ │ │ │ ├── order
│ │ │ │ ├── index.tsx
│ │ │ │ └── order-id.tsx
│ │ │ │ ├── store
│ │ │ │ ├── index.tsx
│ │ │ │ ├── store-id
│ │ │ │ │ ├── settings.tsx
│ │ │ │ │ ├── index.tsx
│ │ │ │ │ ├── create-product.tsx
│ │ │ │ │ └── products.tsx
│ │ │ │ └── create.tsx
│ │ │ │ ├── product
│ │ │ │ └── product-id.tsx
│ │ │ │ └── index.tsx
│ │ ├── index.tsx
│ │ ├── styles
│ │ │ ├── image.css
│ │ │ ├── button.css
│ │ │ └── text-field.css
│ │ ├── utils
│ │ │ ├── useBackButton.ts
│ │ │ ├── useMainButton.ts
│ │ │ ├── useDebounce.ts
│ │ │ └── createAggListResult.ts
│ │ ├── index.css
│ │ ├── contexts
│ │ │ └── pocketbase.tsx
│ │ ├── assets
│ │ │ └── solid.svg
│ │ ├── types
│ │ │ └── pb-types.ts
│ │ └── App.tsx
│ ├── postcss.config.js
│ ├── tsconfig.node.json
│ ├── vite.config.ts
│ ├── .gitignore
│ ├── index.html
│ ├── tailwind.config.js
│ ├── package.json
│ ├── tsconfig.json
│ ├── README.md
│ └── public
│ │ ├── vite.svg
│ │ └── lottie
│ │ └── check_mark.json
├── backend
│ ├── install.js
│ ├── package.json
│ ├── migrations
│ │ ├── 1695891282_updated_stores.go
│ │ ├── 1695812825_updated_stores.go
│ │ ├── 1695891299_updated_stores.go
│ │ ├── 1695891325_updated_stores.go
│ │ ├── 1695812624_updated_stores.go
│ │ ├── 1695891527_updated_stores.go
│ │ ├── 1696959425_updated_products.go
│ │ ├── 1696959521_updated_products.go
│ │ ├── 1696959706_updated_products.go
│ │ ├── 1696964534_updated_products.go
│ │ ├── 1696683749_updated_products.go
│ │ ├── 1695982812_updated_categories.go
│ │ ├── 1695812539_updated_stores.go
│ │ ├── 1696926905_updated_products.go
│ │ ├── 1696948469_updated_orders.go
│ │ ├── 1695983165_updated_stores.go
│ │ ├── 1695812759_updated_stores.go
│ │ ├── 1695985525_updated_products.go
│ │ ├── 1695813016_updated_stores.go
│ │ ├── 1695988414_updated_orders.go
│ │ ├── 1695811078_created_stores.go
│ │ ├── 1695988550_updated_order_items.go
│ │ ├── 1695982759_created_categories.go
│ │ ├── 1695986040_updated_stores.go
│ │ ├── 1695988302_updated_products.go
│ │ ├── 1696946280_updated_order_items.go
│ │ ├── 1696959689_updated_products.go
│ │ ├── 1696959755_updated_order_items.go
│ │ ├── 1695983753_updated_products.go
│ │ ├── 1695985633_updated_products.go
│ │ ├── 1695812931_updated_stores.go
│ │ ├── 1695894851_updated_stores.go
│ │ ├── 1695983767_updated_stores.go
│ │ ├── 1695985930_updated_stores.go
│ │ ├── 1695986131_created_orders.go
│ │ ├── 1696257575_updated_stores.go
│ │ ├── 1696683955_updated_products.go
│ │ ├── 1696684136_updated_products.go
│ │ ├── 1695986371_created_order_items.go
│ │ ├── 1695983036_created_products.go
│ │ └── 1695983101_updated_products.go
│ ├── utils.go
│ ├── go.mod
│ ├── main.go
│ └── go.sum
└── watcher
│ ├── package.json
│ └── watcher.js
├── .dockerignore
├── .prettierrc.cjs
├── .vscode
└── extensions.json
├── .env.example
├── TODO.md
├── .prettierignore
├── docker-compose.yml
├── Dockerfile
├── .gitignore
├── package.json
├── LICENSE
└── README.md
/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
1 | packages:
2 | - "apps/*"
3 |
--------------------------------------------------------------------------------
/apps/frontend/src/components/create-product/create-product.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/apps/frontend/src/components/products-list/products-list.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.dockerignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .git
3 | .gitignore
4 | *.md
5 | dist
--------------------------------------------------------------------------------
/.prettierrc.cjs:
--------------------------------------------------------------------------------
1 | module.exports = require('@crashmax/prettier-config')
2 |
--------------------------------------------------------------------------------
/apps/frontend/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
24 | SDK was unable to initialize. Probably, current application is being 25 | used not in Telegram Web Apps environment. 26 |
27 |28 |30 |{errorMessage()}
29 |
{props.text}
46 |Catalog
71 |Delete store
79 |
50 |
{store.name}
82 |{_product.name}
133 |{_product.price}$
136 |