Coder Social home page Coder Social logo

payusersapi_demoexercise's Introduction

Pay challenge

API to manage Pay users.

Application components

This VS Solution includes

  • APIs: .NET Core 3.1 Azure Functions Project to implement all the endpoints needed (CreateUser, GetUser, ListUsers, CreateAccount, ListAccounts)
  • Database: Azure Storage Table is used to persist data in this project. The uniqueness of the records is guaranteed by using email as the Rowkey value
  • UnitTests: .NET Core 3.1 XUnit Test Project
  • Testing: A collection of POSTMAN requests are provided in order to assist with testing
  • No GUI interface is provided, except for the Console Interface generated by running the API project.

Prerequisites

To run this project on your local machine, you will need:

Visual Studio 2019 Version 16.4 or higher
.NET Core 3.1 SDK (or lower if you choose to point the project to another version of .NET Core, like 2.1 for example

optionally, the solution can be run against Microsoft Azure Storage Emulator. In that case plese install the resource below:

Microsoft Azure Storage Emulator (link to install: https://docs.microsoft.com/en-us/azure/storage/common/storage-use-emulator#get-the-storage-emulator)

optionally, you can also install (to help visualise the data in the Storage Tables),

Microsoft Azure Storage Explorer (link to install: https://azure.microsoft.com/en-us/features/storage-explorer/)

alternatively, docker support has been added to this project.

Database connections

I have provisioned an Azure Storage Table resource in my personal account and use it with this project in order to facilitate running this application without having to install the Storage Emulator. However if needed, the development storage emulator can be used instead by changing the following setting in local.settings.json:

"AzureWebJobsStorage": "UseDevelopmentStorage=true"

To run this project

  • After installing Microsoft Azure Storage Emulator in your machine, open the project in VS and run it.

Assumptions

  • No particular assumption were taken in the implementation of this solution.

payusersapi_demoexercise's People

Contributors

luisdvalle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.