menu
1 vote
1 answer
How do I use one component in 2 different modules? How to use component shared BreadcrumbsComponent for 2 or more modules import { NgModule } from '@angular/core';import { BrowserModule } from '@angular/platform-browse ...
asked Dec 26, 2021
1 vote
1 answer
Почему Type 'Album' is missing the following properties from type 'Album[]': length, pop, push, concat, and 28 more? //childimport { Component, Input, OnInit } from '@angular/core';import { Album } from '../../models/album';@Component({ selector: 'app-album-item', templateUrl: './alb ...
asked Dec 25, 2021
1 vote
1 answer
Is LocalAuthGuard necessary for registration? I don't know if @UseGuards(LocalAuthGuard) is needed for registration, if I use it then all logic crashes Validation in dto not added yet Login If the email and passw ...
asked Dec 25, 2021
1 vote
1 answer
How to validate Request() req? For @Request() req Dto not work like with @Body()? import { Body, Controller, Get, Post, Request, UseGuards } from '@nestjs/common';import { AuthService } from './auth ...
asked Dec 22, 2021
1 vote
1 answer
How do I set the alias for the path '../../../prisma/prisma.module'? Haven't figured out the nx yet olympus-social-network prisma/index.js export from './prisma.service';export from './prisma.module'; import { Module } from '@ne ...
asked Dec 21, 2021
1 vote
1 answer
What to read or watch about Angular for a beginner? Good afternoon. In addition to the official documentation. What books to read in russian, eng or courses to look at a beginner? I know some js, ts (very little) function ...
asked Dec 21, 2021
1 vote
1 answer
How do I update timestampt updated_at? I can't figure out how to do it "updated_at": "2021-10-05T10:06:28.000Z" also the time is wrong async update(id: number, updatePostDto: UpdatePostDto) { const posts ...
asked Dec 19, 2021
1 vote
1 answer
How do I "deplatform" nestjs + angular on heroku? Hello, how do I set up the frontend first, then the backend and set up the cors? Or is it possible to make frontend and backend lie together? I don't use docker processo ...
asked Dec 19, 2021
1 vote
1 answer
What do I need to know to understand nest.js or angular? Some decorators, dto, modules, services, etc.( This code is confusing when reading the book Nest.js- A Progressive Node.js Framework( Need a level like the author Greg ...
asked Dec 18, 2021
1 vote
1 answer
image
How do I limit the number of lines with a LIMIT? Can not limit the output avatars to 5 and lastnames 2 already reviewed a bunch of articles and courses Advanced SQLArray( 0 => Array ( user ...
asked Dec 14, 2021
1 vote
1 answer
image
How can you store arrays in cells in a table? Larka has Eloquent ORM links might be easier to rewrite? Or it won't help. I would be grateful for articles, books, etc. I don't think I can do it myself( One To One On ...
asked Dec 13, 2021
1 vote
1 answer
image
How do I display the last message? Good afternoon. I am trying to get the latest message from a dialog with each user and end up getting not the latest, but the first when GROUP BY, Please advise pliz. I ...
asked Dec 12, 2021
1 vote
1 answer
Does anyone use NextJS with Laravel as REST API and Laravel Sanctum for authentication? It would be interesting to know who has done such a thing as speed? Is it convenient to use and deploy in production? I found a template on githab nextjs-laravel-sanctu ...
asked Nov 28, 2021
1 vote
1 answer
How does spa do? Good afternoon. I'm confused there is CSR, SSG, SSR, ISR, there is RestApi. If I use laravel + react + sanctum then it is bad for seo. I decided to use Next.js with Reac ...
asked Nov 28, 2021
1 vote
1 answer
Is it right to do a lot of Joins? I do not know if this is the right thing to do. Maybe they can be output separately, but then there will be more requests (If RESTfull? SELECT motherboards.id, chip ...
asked Nov 25, 2021
1 vote
1 answer
How do I fix the [webpack-cli] TypeError: Cannot redefine property? As soon as I want to compile (convert) files from resource folder to public/js I get this all the time. I will attach the rest in the comments Laravel Mix - Vue 3 H ...
asked Nov 21, 2021
1 vote
1 answer
What are the create, edit methods for? Good day dear programmers, please advise the coder. What are the create and edit methods for? If they are not used in route:list there is only question.index questio ...
asked Nov 21, 2021
1 vote
1 answer
How do I get the data out of the database? Good afternoon tell me how to output the data from the table User in the controller does not work and read the docs and youtube video watched( <?phpnamespace App\Mod ...
asked Nov 20, 2021
1 vote
1 answer
How to fix UrlGenerationException? Good day dear programmers. Installed breeze but faced a difficulty when configuring it for me I can't find RouteServiceProvider::HOME and change 'dashboard' to Auth::id( ...
asked Nov 19, 2021
1 vote
1 answer
image
Am I using the blade correctly? Good day dear programmers. Is it the opposite of what the template fragments should be connected? Or something went wrong. I have not got the hang of Larka yet( @exten ...
asked Nov 14, 2021

251k questions

567k answers

0 comments

223k users