.NET Core Api designed for customer registration. Contains specific methods designed for CRUD operations regarding customer information. Deployed in Azure, leveraging Azure SQL Server Database for persistence and Azure Key Vault to store the encrypted connection string.
The customer registration API provides ready-to-use interfaces considering the main HTTP verbs (GET, POST, PUT, DELETE). Using Postman or any other CLI, simply build a request containing the desired HTTP verb and the required customer data, if necessary. The fully-managed service deployed in Azure will respond with the appropriate success/error Status.
Customer information that may be stored involves:
- Name
- (Address) - Street Name
- (Address) - City
- Age
- Phone
Please note:
- Name is a required field;
- Age will not accept values that are not in the range of 1 to 130;
- Age will not accept non-numeric values;
- Phone will not accept non-numeric values;
- Email must be at least be formatted as xxxx@yyyy.
To interact with the API, simply send a request to the API. Here's some examples on how to interact with it:
To retrieve all customers as a JSON file, you can directly access the default GET URL or send a plain GET request:
To retrieve information from a specific customer, include the ID on your request:
To insert a customer, send a POST request to the URL mentioned above and input the customer information into the body of the request:

To edit a customer, send a PUT request and input the customer information and include the ID on top of your request:

To delete a customer, send a DELETE request and include the customer ID:

If you have any doubts, fell free to reach me through my personal e-mail, ricardo_morello@hotmail.com