a basic user processing api, with minimal features
Install node if you dont have it already installed, go to Node installation documentation
Clone the repo or download the repo
make sure you are in the project directory Note it is assumed mysql server is installed and running
run npm install command
run npm run dev command
the api has been tested using just postman
go to endpoint http://localhost:9000/register to create an account, passing to the body json file email, name, password and age
go to endpoint http://localhost:9000/login to login into the created account, passing to the body json file email and password
go to endpoint http://localhost:9000/profile after login pass the jwt recieved to this endpoint as a bearer token
this endpoint render a template view in the form of a dashboard, disolaying the name and email of the authenticated user, the view can be viewed using postman # preview feature