A simple boilerplate to start your new API. It has JWT auth and a user registry using mySQL
npm install
to get dependences
copy and rename .env.example
to .env
, and put your configs ..
create user table and user (with admin role) in your DB (necessary to the get token)
finally, npm run dev
to go!
-- id
-- email
-- password
-- role
enjoy!~