Skip to content

Instantly share code, notes, and snippets.

View megancooper's full-sized avatar
🍠
"just think" - aaron swartz

Megan megancooper

🍠
"just think" - aaron swartz
View GitHub Profile
'use strict';
const { Client } = require('@elastic/elasticsearch');
const esClient = new Client({ node: 'http://localhost:9200' });
const productMapping = require('./productMapping');
const categoryMapping = require('./categoryMapping');
const products = require('./products.json');
const categories = require('./categories.json');