Create a simple API endpoints using ExpressJS over nodejs with JWT authentication.
Create User end points
Post:
Get:
Delete:
Update:
parameters:
email: email
password: hash
password_confirmation: hash
Create a Product endpoints
Post:
Get:
Delete:
Update:
Parameters"
product_name: string
product_description: text
product_price: decimal
product_tag: array
- Github repository
- Unit test and proper validation and messages
- Comments for each functionality
- List of users
- Individual User
- User can update themselves if they are login
- List of products
- Individual products
- User can update/delete their own products unless they are not login