Posts

Showing posts with the label API

Building an Automation Hub for a Ticket-Resale Business in .NET

  This is the first post in a series about a project I built for a US-based ticket-resale company: a .NET "automation hub" that connects more than 10 different systems — from POS and marketplaces to banking APIs and an AI that reads email. The problem The event-ticket resale business in the US runs on a patchwork of disconnected platforms: SkyBox (VividSeats' POS for inventory/invoices), Lysted (a resale marketplace), Ticket Evolution, TicketUtils, SeatScouts/AutoQ (purchasing-account management), plus banking (Taekus), Slack, Gmail, and Google Sheets. Every day the operations team had to: Reconcile Lysted sales against inventory in SkyBox Record settlement payments from remit CSV files onto individual invoices Read hundreds of marketing/presale emails so no new ticket drop was missed Monitor balances and sweep cash-back into the main account Bulk-configure a fleet of purchasing accounts All of it repetitive, all of it error-prone when done by hand. My goal: fold everythi...

AWS API gateway, S3

Image
  Tutorial: Create a REST API as an Amazon S3 proxy in API Gateway - Amazon API Gateway Using REST API to upload files to the S3 bucket - BlueGrid : BlueGrid AIM role Edit Trust Relationship {   "Version": "2012-10-17",   "Statement": [     {       "Effect": "Allow",       "Principal": {         "Service": "s3.amazonaws.com"       },       "Action": "sts:AssumeRole"     },     {       "Effect": "Allow",       "Principal": {         "Service": "apigateway.amazonaws.com"       },       "Action": "sts:AssumeRole"     }   ] } Next, go to API Gateway --> create a REST API. Create the folder & item resource create GET -->  with "tanldttestingapigateway" is a S3 bucket name. /{folder}/{item} - GET - Method Execution --> to add URL path parameters Create the fo...

Sample steps to create the API with Angular page

Code first DB:  dotnet tool install --global dotnet-ef dotnet ef migrations add "Initial" -o "Data/Migrations" dotnet ef database update ng g c employee --module app --skipTests=true External libraries:           @angular/material (Angular npm package)       Doing this will trigger the Angular Material command-line setup wizard, which will install the following npm packages: --> npm install xxxxx @angular/material @angular/cdk  (prerequisite) System.Linq.Dynamic.Core (.NET Core NuGet package) Microsoft.EntityFrameworkCore NuGet package      Microsoft.EntityFrameworkCore.Tools NuGet package      Microsoft.EntityFrameworkCore.SqlServer NuGet package If we prefer to do this using the NuGet package manager command line, we can input the following:    PM> Install-Package Microsoft.EntityFrameworkCore -Version 5.0.0 PM> Install-Package Microsoft.EntityFrameworkCore.Tools -Version 5.0.0...

Learning - Building RESTful Web Services with PHP 7

  Building RESTful Web Services with PHP 7 (oreilly.com) Source codes:  https://downloads.packtpub.com/code/9781787127746.zip