This Project is an attempt to answer to this given exercise.
This project need a docker install to be launched.
To deploy this project run
docker-compose up
GET /v1/
Parameter | Type | Description |
---|---|---|
none |
`` | just a test to make sure everything run smoothly |
GET /v1/users/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of user to fetch |
PUT /v1/users/
Parameter | Type | Description |
---|---|---|
name |
string |
Required. Name of user to record |
firstname |
string |
Required Firstname of user to record |
age |
string |
Required. Age of user to record |
email |
string |
Required Unique User's email |
phone |
string |
Required User's phone number |
address |
string |
Required User's postal address |
passId |
string |
Id of the user's pass |
password |
string |
Required User's password |
DELETE /v1/users/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of user to delete |
Thank you to VStockman and S0fien for suggesting this exercise