Skip to content

feat: add default admin user seeding on first server start#213

Merged
Userunknown84 merged 2 commits into
Userunknown84:mainfrom
Aharshi3614:feat/default-admin-seed
Jun 23, 2026
Merged

feat: add default admin user seeding on first server start#213
Userunknown84 merged 2 commits into
Userunknown84:mainfrom
Aharshi3614:feat/default-admin-seed

Conversation

@Aharshi3614

@Aharshi3614 Aharshi3614 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Closes #204

Added automatic admin user creation on first server start.

Changes:

  • Created seeders/adminSeeder.js to seed default admin
  • Admin user created automatically when server starts
  • No duplicate admin users on subsequent starts
  • Credentials configurable via .env

Default Credentials:

Email: admin@example.com
Password: admin123

Console Output:

✅ Admin user created successfully
📧 Email: admin@example.com
🔑 Password: admin123

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

@Aharshi3614 is attempting to deploy a commit to the Aditya Sharma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the Hard label Jun 23, 2026
@Userunknown84 Userunknown84 merged commit dd62bcc into Userunknown84:main Jun 23, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add default admin user seeding on first server start

2 participants