Skip to content

Instantly share code, notes, and snippets.

@Klerith
Last active February 10, 2025 00:10
Show Gist options
  • Save Klerith/d6ef46db34a84dee0697a41acbdf2f46 to your computer and use it in GitHub Desktop.
Save Klerith/d6ef46db34a84dee0697a41acbdf2f46 to your computer and use it in GitHub Desktop.
Información para poblar la base de datos
import { bcryptAdapter } from '../../config';
export const seedData = {
users: [
{ name: 'Test 1', email: '[email protected]', password: bcryptAdapter.hash( '123456') },
{ name: 'Test 2', email: '[email protected]', password: bcryptAdapter.hash( '123456') },
{ name: 'Test 3', email: '[email protected]', password: bcryptAdapter.hash( '123456') },
{ name: 'Test 4', email: '[email protected]', password: bcryptAdapter.hash( '123456') },
{ name: 'Test 5', email: '[email protected]', password: bcryptAdapter.hash( '123456') },
{ name: 'Test 6', email: '[email protected]', password: bcryptAdapter.hash( '123456') },
],
categories: [
{ name: 'Driven' },
{ name: 'Till' },
{ name: 'Shout' },
{ name: 'Distance' },
{ name: 'Became' },
{ name: 'Chapter' },
{ name: 'Syllable' },
{ name: 'Arm' },
{ name: 'Guard' },
{ name: 'Perfectly' },
{ name: 'Expect' },
{ name: 'Hardly' },
{ name: 'anyone' },
{ name: 'vessels' },
{ name: 'angle' },
{ name: 'degree' },
{ name: 'split' },
{ name: 'would' },
{ name: 'kitchen' },
{ name: 'planned' },
{ name: 'combination' },
{ name: 'felt' },
],
products: [
{ name: 'Than', available: true, price: 75.0369, descripcion: 'daughter me move thumb claws lose supper strip animal teach additional definition why pitch help thus boy like every mud month are account dozen' },
{ name: 'Wagon', available: true, price: 1.9631, descripcion: 'actual difficult nature yellow smile captain nervous to cause wolf strong neck fifteen wrote consider visit likely happened rear red review wash flag parent' },
{ name: 'Tone', available: true, price: 11.0312, descripcion: 'met certain specific detail deeply red forth tiny whatever what image parts deer difficulty pair mixture trouble forgotten fort dry listen strength got seldom' },
{ name: 'Song', available: true, price: 99.2314, descripcion: 'look board flat river solve spite universe history use pool frequently twenty basic lying this came poetry particular function previous suit west shore tomorrow' },
{ name: 'Plenty', available: true, price: 75.4476, descripcion: 'dinner welcome screen expression structure plastic doubt missing thank garage property particular park syllable slide cup alphabet swimming stood fought fog shut spite ever' },
{ name: 'Season', available: false, price: 91.6254, descripcion: 'canal promised split headed studying had declared vessels hello matter lovely congress birthday fed word street happened ought cold heavy cage shoulder sight applied' },
{ name: 'Voyage', available: true, price: 84.0274, descripcion: 'reach myself owner building anyway tool dance particles branch shadow clear home of grass rabbit wind bit barn slipped husband recent tongue important zero' },
{ name: 'Medicine', available: true, price: 38.1478, descripcion: 'mountain five art moving foot roll harder lucky pitch mile nails married finally spend adult left storm easy cry increase cook drew announced glad' },
{ name: 'How', available: true, price: 47.5355, descripcion: 'heat student highway very word health them feel off cover trail cage went mission ice safety disease observe copy flat speech experiment now finest' },
{ name: 'Saved', available: true, price: 75.9318, descripcion: 'weather mud friend brother breakfast corn prevent numeral deer quiet so name fastened tongue sing phrase concerned tree pass flies fighting chapter fence act' },
{ name: 'High', available: true, price: 90.1331, descripcion: 'went split establish speak origin itself news when cross stand value vertical decide bicycle tone are market view depth income touch above nation spread' },
{ name: 'Colony', available: true, price: 27.3687, descripcion: 'jungle weight whether printed west egg run cut rod football fewer trouble hearing him been note select our shelf afraid jump alike slip shore' },
{ name: 'Dozen', available: false, price: 63.9702, descripcion: 'tobacco spent congress who accept pond outline changing flow find cat mirror tax keep twenty yellow into pile reach move plan recall nervous gold' },
{ name: 'Bean', available: true, price: 44.1797, descripcion: 'direct might am golden block seat birth television taught twenty clock process safety shirt guard control cent follow couple eleven weather location turn parent' },
{ name: 'Pain', available: true, price: 74.0199, descripcion: 'start difficult two force source job process tomorrow machinery physical loose five fruit leaving century ourselves difference for frog throughout bridge atomic sunlight send' },
{ name: 'Clearly', available: true, price: 8.6356, descripcion: 'well poem little but therefore instant tight outline foreign drove characteristic mine leader cold close club satellites quiet face tobacco age gas bend push' },
{ name: 'Immediately', available: true, price: 41.4278, descripcion: 'feel shot fill square caught would valley path whispered come porch function pocket fish division think same sign was adventure worry bean wealth realize' },
{ name: 'Sent', available: false, price: 95.3915, descripcion: 'shut cookies goes serious several change poet principle play congress begun mill composition unless piece negative expect ancient milk shall house period stranger eight' },
{ name: 'Globe', available: true, price: 32.7184, descripcion: 'saw clean golden brick shot brave percent damage eight chain young tears religious stems speak element example eager busy satellites pain fast operation person' },
{ name: 'Battle', available: true, price: 53.4763, descripcion: 'his prevent sight camera ring generally glad refused among group nervous cave box rate breath somehow whether gate plant related citizen even yellow after' },
{ name: 'Elephant', available: true, price: 42.5209, descripcion: 'ocean pink smell cent globe shot trouble guard troops swing sat hat back softly smaller direction seen jar strike union language off cookies serious' },
{ name: 'Special', available: true, price: 85.0522, descripcion: 'slip front wrapped corner rose audience eat consider manufacturing swept seven yard sing purple industrial picture carbon social pole deal vowel slipped truck dozen' },
]
}
@JorgeUrquiza
Copy link

Gracias Fer!!!

@DaveOval
Copy link

DaveOval commented May 5, 2024

Gracias por todo <3

@pmNiko
Copy link

pmNiko commented Nov 13, 2024

Muchas gracias por el recurso Fer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment