You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you already install mysql and setting up the .env ( the format is like .env.default )
Create database, name is up to you and don't forget to setting up in .env file in app.js if you run that in the first time you need to uncomment the sync func. ( sync is to make firstuser to signin, feel free to remake that )
Also if you need to some data, you can uncommet seeder helper
And you can check the endpoint and play around
/api/v1/auth
Endpoint
HTTP
Description
Body
/api/v1/auth/signin
POST
Update user by id
email, password
/api/v1/auth/signup
POST
Get all auth
fullname, email, username, address, role
please take note : signup and all of users endpoint can be perform by superadmin only