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
{ | |
"workbench.colorTheme": "Night Owl", | |
"git.enableSmartCommit": true, | |
"javascript.format.insertSpaceBeforeFunctionParenthesis": false, | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx" | |
}, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.fontFamily": "Monaco", | |
"editor.fontSize": 14, |
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
{ | |
"parser": "@typescript-eslint/parser", | |
"extends": [ | |
"eslint:recommended", | |
"plugin:@typescript-eslint/recommended", | |
"plugin:react/recommended", | |
"prettier", | |
"prettier/react", | |
"prettier/@typescript-eslint" | |
], |
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
SELECT (SELECT pl.id, pl."postId" FROM "PostLikes" as pl where "Posts".id = pl."postId" ) as postCount, "Posts"."id" as "postId" FROM "Posts" | |
INNER JOIN "Users" as "user" ON "Posts"."userId" = "user"."id" | |
WHERE "Posts"."userId" = '40f7198d-6851-4e19-94fb-df0094b84bb6' |
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
Resources: | |
VPC: | |
Type: AWS::EC2::VPC | |
Properties: | |
CidrBlock: 10.1.0.0/16 | |
EnableDnsSupport: true | |
EnableDnsHostnames: true | |
Tags: | |
- Key: Name | |
Value: !Sub ${AWS::StackName}-web-pub |
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
{ "openapi": "3.0.1", "info": { "title": "Event Processing API", "description": "Yodel Event Processing API", "version": "1.0.0" }, "servers": [ { "url": "http://localhost:8108", "description": "Generated server url" } ], "paths": { "/receiveEvent": { "post": { "tags": [ "json-event-receiver-controller" ], "summary": "Process Tracking Event", "operationId": "processJsonEvent", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonEvent" } } }, "required": true }, "responses": { "201": { "description": "Event processed successfully" }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/YodelResponseBody" }, "examples": { "Invalid Argument": { "summary": "throw when invalid request body passed", "description": "Invalid Argument", "value": { "status": "FAIL", "code": "400 BAD_REQUEST", "message": "INVALID_ARGUMENTS", "data": null, "fieldInformation": { "fieldList": [ { "field": "pudoLocationId", "informat |
OlderNewer