Skip to content

pollirrata/assignment

Repository files navigation

Assignment for Scalable Web Developer

Author: Jorge Gaona (@pollirrata)

Setup and Usage

  • The endpoints can be executed locally or remotely (Deployed to Azure in West Europe Region to reduce latency for your tests)

App settings

To run locally, Gaona.Assignment.exe needs to have the following app settings defined

  • StorageConnString in case you don't want to use the Azure Storage Emulator
  • sgapikey A SendGrid API key for email sending (refer to improvements list)
  • errormail The email address to send the errors

Gaona.Assignment.Client.exe is already set up to call the remote endpoint address. In case you want to run it locally set the server setting to the desired value.

Using the client app

  • Start Gaona.Assignment.exe file
  • Start Gaona.Assignment.Client.exe file

The client app will execute 5 tests, based on the binary files included in the project

  1. Send a payload bigger than the limit (1MB)
  2. Check if data is equal using an image file
  3. Check if data has different lenght using two image files
  4. Check if data has equal length but has differeces using two text files
  5. Check if data has equal length but has differences using two binary files

Using REST API tester

  • Start Gaona.Assignment.exe application
  • Make the corresponding calls for the diff process

An example of the calls I used is on Postman exported file, included in this repo

Documentation

API documentation (automated using swagger and XML comments) can be found at

THEEND

About

Assignment Scalable Web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages