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
// npm i express body-parser axios jsonwebtoken | |
// node oauth2-client-credentials.js | |
const express = require('express') | |
const bodyParser = require('body-parser') | |
const axios = require('axios') | |
const jwt = require('jsonwebtoken') | |
const PORT_AUTH_SERVER = 4000 | |
const PORT_RESOURCE_SERVER = 5000 |
- depthsofwikipedia - Annie Rauwerda
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 React, { useState } from 'react' | |
import { DragDropContext, Droppable, Draggable } from '@hello-pangea/dnd' | |
// fake data generator | |
const getItems = (count, offset = 0) => | |
Array.from({ length: count }, (v, k) => k).map((k) => ({ | |
id: `item-${k + offset}-${new Date().getTime()}`, | |
content: `item ${k + offset}`, | |
})) |
This file has been truncated, but you can view the full file.
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
{ | |
"letters": { | |
"E": 445155370175, | |
"T": 330535289102, | |
"A": 286527429118, | |
"O": 272276534337, | |
"I": 269731642485, | |
"N": 257770795264, | |
"S": 232082812755, | |
"R": 223767519675, |
NewerOlder