This file contains 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
{ | |
"packageManager": "[email protected]", | |
"scripts": { | |
"dev": "next dev", | |
"build": "next build", | |
"start": "next start", | |
"lint": "next lint", | |
"customlint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"", | |
"lint:fix": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\"", | |
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css,md}\" --config ./.prettierrc" |
This file contains 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 db from "./mongo.mjs"; | |
db.users.find(); | |
db.posts.find(); | |
db.gifts.find(); | |
/* OR */ | |
import {users, posts, gifts} from "./mongo.mjs"; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Glassmorphism Login Form</title> | |
<style> | |
* { | |
margin: 0; | |
padding: 0; |
This file contains 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
{ | |
"filter": { | |
"typeDealId": 2, | |
"objectTypeId": 1, | |
"objectSubType": [], | |
"numRooms": [ | |
2 | |
], | |
"countryId": 1, | |
"regionId": null, |
This file contains 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
db.Vehicle.aggregate([ | |
{ | |
$match: {vin: "..."} | |
}, | |
{ | |
$lookup: { | |
from: 'Address', //i want all addresses | |
localField: '_vin', | |
foreignField: 'vehicle.vin', | |
as: 'addresses' |
This file contains 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
{ | |
"city": { | |
"title": "Город", | |
"type": "array", | |
"message": "Вы можете выбрать или убрать необходимые города или сохранить текущие настройки", | |
"field": "address_info.city.name", | |
"values": [ | |
"Екатеринбург", | |
"Верхняя Пышма", | |
"Берёзовский", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder