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
const { Genre } = require("./models/genre"); | |
const { Movie } = require("./models/movie"); | |
const mongoose = require("mongoose"); | |
const config = require("config"); | |
const data = [ | |
{ | |
name: "Comedy", | |
movies: [ | |
{ title: "Airplane", numberInStock: 5, dailyRentalRate: 2 }, |
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
[ | |
{ "state": "Ahuachapan", "city": "Ahuachapán" }, | |
{ "state": "Ahuachapan", "city": "Apaneca" }, | |
{ "state": "Ahuachapan", "city": "Atiquizaya" }, | |
{ "state": "Ahuachapan", "city": "Concepción de Ataco" }, | |
{ "state": "Ahuachapan", "city": "El Refugio" }, | |
{ "state": "Ahuachapan", "city": "Guaymango" }, | |
{ "state": "Ahuachapan", "city": "Jujutla" }, | |
{ "state": "Ahuachapan", "city": "San Francisco Menéndez" }, | |
{ "state": "Ahuachapan", "city": "San Lorenzo" }, |
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
{ | |
"Ahuachapán": [ | |
"Ahuachapán", | |
"Jujutla", | |
"Atiquizaya", | |
"Concepción de Ataco", | |
"El Refugio", | |
"Guaymango", | |
"Apaneca", | |
"San Francisco Menéndez", |