Aye-Bee-See / sqlite-express-api

0 stars 0 forks source link

Create default admin #5

Closed mycwnet closed 4 months ago

mycwnet commented 5 months ago

Create a default admin user on creation

paxblueribbon commented 4 months ago

We should remove the jwt that is in the public repo under postman tests while we're at it, get it to request and use this live like we do in the auth test get request

mycwnet commented 4 months ago

Is that part of creating a default admin?

mycwnet commented 4 months ago

So the current code in the branch is functional though user ids need to be something probably different from an integer and idk what the default credentials should be but it's easily changeable and building seeds if necessary for other tables should be fairly simple.