Huge bunch of UI/UX improvements and tweaks!
This commit is contained in:
parent
501be10bfe
commit
fb25e72215
37 changed files with 1651 additions and 949 deletions
|
|
@ -22,6 +22,9 @@ async function seedAll() {
|
|||
console.log("\n📅 Seeding series events...");
|
||||
execSync("node scripts/seed-series-events.js", { stdio: "inherit" });
|
||||
|
||||
console.log("\n📋 Seeding pre-registrants...");
|
||||
execSync("node scripts/seed-pre-registrants.js", { stdio: "inherit" });
|
||||
|
||||
console.log("\n✅ All data seeded successfully!");
|
||||
console.log("\n📊 Database Summary:");
|
||||
|
||||
|
|
@ -30,12 +33,15 @@ async function seedAll() {
|
|||
|
||||
const Member = (await import("../server/models/member.js")).default;
|
||||
const Event = (await import("../server/models/event.js")).default;
|
||||
const PreRegistration = (await import("../server/models/preRegistration.js")).default;
|
||||
|
||||
const memberCount = await Member.countDocuments();
|
||||
const eventCount = await Event.countDocuments();
|
||||
const preRegCount = await PreRegistration.countDocuments();
|
||||
|
||||
console.log(` Members: ${memberCount}`);
|
||||
console.log(` Events: ${eventCount}`);
|
||||
console.log(` Pre-registrants: ${preRegCount}`);
|
||||
|
||||
process.exit(0);
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue