- AUTH-01: Supabase kliens inicializálása Nuxt pluginben
- AUTH-02: Pinia auth store létrehozása
This file defines mandatory rules for all code generation and modifications in this Nuxt codebase. If any rule would be violated, stop and fix the solution to fully comply with these guidelines.
- if "create skeleton" is requested, create a new nuxt project with minimal setup: an home page with one text content, router with one route for home. IMPORTANT: keep as simple as possible, do NOT add any extra dependencies, code, or features. Try to solve the request with minimal code as quick as possible.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker exec -it $(docker ps -qf "name=postgres") psql -U postgres -d demo -c \ | |
| "CREATE TABLE IF NOT EXISTS public.customers ( | |
| id SERIAL PRIMARY KEY, | |
| name VARCHAR(255), | |
| email VARCHAR(255) | |
| );" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Injectable } from '@nestjs/common'; | |
| import { PinoLogger } from 'nestjs-pino'; | |
| import { Server, Socket } from 'socket.io'; | |
| import { RoomType } from '../../types/socket-room.types'; | |
| @Injectable() | |
| export class SocketRoomService { | |
| private socketServer: Server; | |
| constructor(private readonly logger: PinoLogger) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ABCD-5432 JIRA ticket: | |
| Improve the API with a /devices endpoint. The endpoint's functionality comes from the attached Product Specification Documentation. | |
| Definition of Done: | |
| - The /devices endpoint returns the devices array following the sample data structure contained in the related documentation. | |
| - If the company doesn't have any devices at the selected address → /devices returns an empty array. | |
| How to demo (with the UI parts): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| zookeeper: | |
| image: confluentinc/cp-zookeeper:7.6.0 | |
| ports: | |
| - '2181:2181' | |
| environment: | |
| ZOOKEEPER_CLIENT_PORT: 2181 | |
| ZOOKEEPER_TICK_TIME: 2000 | |
| kafka: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npx esbuild main.js --bundle --outfile=bundle.js | |
| vs | |
| npx esbuild app.js --bundle --format=esm --outfile=bundle.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| zookeeper: | |
| image: confluentinc/cp-zookeeper:7.5.0 | |
| environment: | |
| ZOOKEEPER_CLIENT_PORT: 2181 | |
| kafka: | |
| image: confluentinc/cp-kafka:7.5.0 | |
| depends_on: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.8' | |
| services: | |
| mongo: | |
| image: mongo:7 | |
| container_name: mongodb | |
| restart: always | |
| ports: | |
| - '27017:27017' | |
| volumes: |
NewerOlder