menu

arrow_back Recent activity by Speakermen

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 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 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 answer
How can django-oauth-toolkit use jwt tokens without adding them to the database? I have been working on separating the authorization server and the resource server using django-oauth-toolkit. I also wrote my jwt token generator: from rest_framework ...
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 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 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
2 answers
The html page is not fully visible on the screen, how to fix it? Hi all, I am new to website layout and am still learning. To practice my html and css skills I made a simple website template in photoshop. I made it using sample psd fi ...
commented Dec 20, 2021
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 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 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 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 ...
commented Dec 14, 2021
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 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 ...
commented Dec 12, 2021
1 answer
How do I transfer a CSS property from one HTML element to another? Hello. I have a link <a> which has a CSS color property that is not set by me. I want to inherit this color and set it in the border for <div> . How do I do ...
commented Dec 1, 2021
3 answers
Do I need to enable CSRF for the SPA site? Good afternoon. I have a front end in Vue + Nuxt and a back end in Laravel. The back is protected by Sanctum. Some of the POST requests require authorization, some do no ...
answered Dec 1, 2021
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 ...
commented Nov 28, 2021
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 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 ...
commented Nov 25, 2021

251k questions

567k answers

0 comments

223k users