├── .env example ├── .gitignore ├── LICENSE ├── README.md ├── app ├── app.vue ├── assets │ └── css │ │ └── main.css ├── components │ ├── dashboard │ │ ├── DonutChart.vue │ │ ├── PipelineStatus.vue │ │ ├── QuickActions.vue │ │ ├── RecentActivity.vue │ │ ├── SalesChart.vue │ │ ├── StatsCards.vue │ │ ├── TodoList.vue │ │ └── UpcomingTasks.vue │ └── layout │ │ └── dashboard │ │ ├── DashboardHeader.vue │ │ ├── DashboardSidebar.vue │ │ └── DashboardUserMenu.vue ├── composables │ ├── useDashboard.ts │ └── useDashboardLayout.ts ├── layouts │ └── dashboard.vue ├── middleware │ ├── auth.ts │ └── guest.ts ├── pages │ ├── dashboard │ │ ├── analytics.vue │ │ ├── categories.vue │ │ ├── contacts.vue │ │ ├── deals.vue │ │ ├── index.vue │ │ ├── inventory.vue │ │ ├── profile.vue │ │ ├── settings.vue │ │ ├── suppliers.vue │ │ └── todos.vue │ ├── index.vue │ └── login.vue ├── plugins │ ├── apexcharts.client.ts │ └── auth-init.ts └── stores │ └── auth.ts ├── cookies.txt ├── database └── pocketbase.json ├── nuxt.config.ts ├── package.json ├── public ├── favicon.ico └── robots.txt ├── server ├── api │ ├── auth │ │ ├── login.post.ts │ │ ├── logout.post.ts │ │ └── me.get.ts │ ├── categories │ │ ├── [id].delete.ts │ │ ├── [id].put.ts │ │ ├── index.get.ts │ │ └── index.post.ts │ ├── contacts │ │ ├── index.get.ts │ │ └── index.post.ts │ ├── deals │ │ ├── index.get.ts │ │ └── index.post.ts │ ├── inventory │ │ ├── [id].delete.ts │ │ ├── [id].put.ts │ │ ├── index.get.ts │ │ └── index.post.ts │ ├── suppliers │ │ ├── [id].delete.ts │ │ ├── [id].put.ts │ │ ├── index.get.ts │ │ └── index.post.ts │ └── todos │ │ ├── [id].delete.ts │ │ ├── [id].put.ts │ │ ├── index.get.ts │ │ └── index.post.ts ├── tsconfig.json └── utils │ ├── pocketbase.ts │ └── security.ts ├── tailwind.config.ts ├── tsconfig.json └── wrangler.toml.example /.env example: -------------------------------------------------------------------------------- 1 | BASE_URL=https://your-pocketbase-url.com -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/README.md -------------------------------------------------------------------------------- /app/app.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/app.vue -------------------------------------------------------------------------------- /app/assets/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/assets/css/main.css -------------------------------------------------------------------------------- /app/components/dashboard/DonutChart.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/dashboard/DonutChart.vue -------------------------------------------------------------------------------- /app/components/dashboard/PipelineStatus.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/dashboard/PipelineStatus.vue -------------------------------------------------------------------------------- /app/components/dashboard/QuickActions.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/dashboard/QuickActions.vue -------------------------------------------------------------------------------- /app/components/dashboard/RecentActivity.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/dashboard/RecentActivity.vue -------------------------------------------------------------------------------- /app/components/dashboard/SalesChart.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/dashboard/SalesChart.vue -------------------------------------------------------------------------------- /app/components/dashboard/StatsCards.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/dashboard/StatsCards.vue -------------------------------------------------------------------------------- /app/components/dashboard/TodoList.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/dashboard/TodoList.vue -------------------------------------------------------------------------------- /app/components/dashboard/UpcomingTasks.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/dashboard/UpcomingTasks.vue -------------------------------------------------------------------------------- /app/components/layout/dashboard/DashboardHeader.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/layout/dashboard/DashboardHeader.vue -------------------------------------------------------------------------------- /app/components/layout/dashboard/DashboardSidebar.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/layout/dashboard/DashboardSidebar.vue -------------------------------------------------------------------------------- /app/components/layout/dashboard/DashboardUserMenu.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/components/layout/dashboard/DashboardUserMenu.vue -------------------------------------------------------------------------------- /app/composables/useDashboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/composables/useDashboard.ts -------------------------------------------------------------------------------- /app/composables/useDashboardLayout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/composables/useDashboardLayout.ts -------------------------------------------------------------------------------- /app/layouts/dashboard.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/layouts/dashboard.vue -------------------------------------------------------------------------------- /app/middleware/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/middleware/auth.ts -------------------------------------------------------------------------------- /app/middleware/guest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/middleware/guest.ts -------------------------------------------------------------------------------- /app/pages/dashboard/analytics.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/analytics.vue -------------------------------------------------------------------------------- /app/pages/dashboard/categories.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/categories.vue -------------------------------------------------------------------------------- /app/pages/dashboard/contacts.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/contacts.vue -------------------------------------------------------------------------------- /app/pages/dashboard/deals.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/deals.vue -------------------------------------------------------------------------------- /app/pages/dashboard/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/index.vue -------------------------------------------------------------------------------- /app/pages/dashboard/inventory.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/inventory.vue -------------------------------------------------------------------------------- /app/pages/dashboard/profile.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/profile.vue -------------------------------------------------------------------------------- /app/pages/dashboard/settings.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/settings.vue -------------------------------------------------------------------------------- /app/pages/dashboard/suppliers.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/suppliers.vue -------------------------------------------------------------------------------- /app/pages/dashboard/todos.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/dashboard/todos.vue -------------------------------------------------------------------------------- /app/pages/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/index.vue -------------------------------------------------------------------------------- /app/pages/login.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/pages/login.vue -------------------------------------------------------------------------------- /app/plugins/apexcharts.client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/plugins/apexcharts.client.ts -------------------------------------------------------------------------------- /app/plugins/auth-init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/plugins/auth-init.ts -------------------------------------------------------------------------------- /app/stores/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/app/stores/auth.ts -------------------------------------------------------------------------------- /cookies.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/cookies.txt -------------------------------------------------------------------------------- /database/pocketbase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/database/pocketbase.json -------------------------------------------------------------------------------- /nuxt.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/nuxt.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-Agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /server/api/auth/login.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/auth/login.post.ts -------------------------------------------------------------------------------- /server/api/auth/logout.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/auth/logout.post.ts -------------------------------------------------------------------------------- /server/api/auth/me.get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/auth/me.get.ts -------------------------------------------------------------------------------- /server/api/categories/[id].delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/categories/[id].delete.ts -------------------------------------------------------------------------------- /server/api/categories/[id].put.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/categories/[id].put.ts -------------------------------------------------------------------------------- /server/api/categories/index.get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/categories/index.get.ts -------------------------------------------------------------------------------- /server/api/categories/index.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/categories/index.post.ts -------------------------------------------------------------------------------- /server/api/contacts/index.get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/contacts/index.get.ts -------------------------------------------------------------------------------- /server/api/contacts/index.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/contacts/index.post.ts -------------------------------------------------------------------------------- /server/api/deals/index.get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/deals/index.get.ts -------------------------------------------------------------------------------- /server/api/deals/index.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/deals/index.post.ts -------------------------------------------------------------------------------- /server/api/inventory/[id].delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/inventory/[id].delete.ts -------------------------------------------------------------------------------- /server/api/inventory/[id].put.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/inventory/[id].put.ts -------------------------------------------------------------------------------- /server/api/inventory/index.get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/inventory/index.get.ts -------------------------------------------------------------------------------- /server/api/inventory/index.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/inventory/index.post.ts -------------------------------------------------------------------------------- /server/api/suppliers/[id].delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/suppliers/[id].delete.ts -------------------------------------------------------------------------------- /server/api/suppliers/[id].put.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/suppliers/[id].put.ts -------------------------------------------------------------------------------- /server/api/suppliers/index.get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/suppliers/index.get.ts -------------------------------------------------------------------------------- /server/api/suppliers/index.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/suppliers/index.post.ts -------------------------------------------------------------------------------- /server/api/todos/[id].delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/todos/[id].delete.ts -------------------------------------------------------------------------------- /server/api/todos/[id].put.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/todos/[id].put.ts -------------------------------------------------------------------------------- /server/api/todos/index.get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/todos/index.get.ts -------------------------------------------------------------------------------- /server/api/todos/index.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/api/todos/index.post.ts -------------------------------------------------------------------------------- /server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../.nuxt/tsconfig.server.json" 3 | } 4 | -------------------------------------------------------------------------------- /server/utils/pocketbase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/utils/pocketbase.ts -------------------------------------------------------------------------------- /server/utils/security.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/server/utils/security.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/tsconfig.json -------------------------------------------------------------------------------- /wrangler.toml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianjs/openstock/HEAD/wrangler.toml.example --------------------------------------------------------------------------------