Celtrix
Celtrix copied to clipboard
[FEATURE] Generate a db:seed script with example users
Description The generated app lists users from the database, but a fresh database shows an empty list until someone sends a POST request.
Proposed solution
- Add a seed script in
packages/databasethat creates a few sample users idempotently - Add a root
db:seedscript and document it inCELTRIX_SETUP.md - Provide a Mongoose equivalent for MongoDB projects
Acceptance criteria
- [ ] Running
db:seedtwice gives the same data - [ ] The status screen shows the seeded users
- [ ] Extend the e2e test to run the seed
please assign me !.
Hello Pratik Damas, Could you please assign this issue to me? I can work on it and resolve it.