Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| import { ObjectType, Field } from "@nestjs/graphql"; | |
| @ObjectType() | |
| export class PageInfo { | |
| @Field({ nullable: true }) | |
| startCursor: string; | |
| @Field({ nullable: true }) | |
| endCursor: string; | 
The standard names for indexes in PostgreSQL are:
{tablename}_{columnname(s)}_{suffix}
where the suffix is one of the following:
pkeyfor a Primary Key constraint;
keyfor a Unique constraint;
exclfor an Exclusion constraint;
idxfor any other kind of index;
| git config --global url."https://github.com/".insteadOf [email protected]: | |
| git config --global url."https://".insteadOf git:// | 
| docker images | grep -v REPOSITORY | awk '{print $1}' | xargs -L1 docker pull | 
| const express = require("express"); | |
| const router = express.Router(); | |
| const User = require("../models/user"); | |
| const AWS = require("aws-sdk"); | |
| AWS.config.update({ | |
| accessKeyId: process.env.accessKeyId, | |
| secretAccessKey: process.env.secretAccessKey, | |
| region: "us-east-1" | |
| }); | 
Feel free to contact me at [email protected] or tweet at me @statisticsftw
This is a rough outline of how we utilize next.js and S3/Cloudfront. Hope it helps!
It assumes some knowledge of AWS.
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents