API sandbox - terrytaylorbonn/auxdrone GitHub Wiki

24.1221 (Gdrive)


I started the API sandbox project in September 2024. The sandbox demonstrates API and API doc tools. Recent examples (full list at Deployment history):


API sandbox overview:


The 5 main sections of the API sandbox:

image

  • 1 Dev local (gdrive).
    • API docs: Swagger, Sphinx, Swashbuckle.
    • APIs: Django, Flask, FastAPI, Netlify, Nextjs, Nestjs, Nodejs.
  • 2 Deploy (gdrive).
    • Deployments (not AWS): Gitbook, Railway, Scalar, Pythonanywhere, Docker, NGROK.
    • AWS deployments: ec2, Lightsail, S3, Amplify, EBS, ECS, Fargate, AppRunner, Lambda.
    • CI/CD, CodeCatalyst
  • 3 API management
    • API Connect (IBM), Mulesoft (Salesforce), Apigee (GCP), Kong, ...
  • 4 Front ends
    • Vue, React, Svelte, ... (or just a browser, Postman, or Swagger UI)
  • 5 Other (gdrive).
    • Git
    • AWS certification

image











































NOTES

This part provides

  • A refresher on the latest API / API-doc tools (that I have not used before).
  • A big-picture hands-on presentation of API/API-doc topics (which I could not find anywhere).

Example demo

Demo #220 (WIP) is currently the most complete demo.

Deployment

image

Code (WIP)

Demo #220 code includes the following:

  • Git repo AWS-Deployment
  • Swagger (auto-generated, added manually to code, or created manually (editing a swagger file))
  • Python (WSGI/Django)
  • CI/CD setup (future)

image

Docs

2_#220_(OK)_django_deploy_to_ec2_ziptieai.net_ssl_LEGION_.docx (draft)

image

Left below is a diagram that shows the configuration (numbering matches the TOC above).

image image

#120 is a combination of several docs (the original LEGION demo, ChatGPT directions, and SSL setup instructinos from #234).

image

























24.1124 (Gdrive)


This is the latest part of this wiki (WIP started in Sept 2024):

  • The goal
  • Demo deployments
    • Main focus is on basic AWS deployments with ziptieai.xxx subdomains + SSL.
    • Future deployments will focus on "filling out" with more advanced (1) APIs and (2) swagger docs.
  • 1 APIs / API docs
    • Create the basic APIs/docs using tools like NodeJS, FastApi, etc on localhost.
    • Deployments on non-AWS sites (PythonAnywhere, Railway, etc) without a custom subdomain.
  • 2 AWS (AWS is the main public platform of interest)
  • 3 Code (GIt/Swagger/Python/Javascript/CICD)












































NOTES

Recent past activities

  • 2023 4th quarter: AI, drone simulation.
  • 2024 1st half: AI drones. I successfully built and flew an AI drone without assistance. Along the way I mastered quite a bit of AI/drone tech.

Recommended recent links of interest:

  • 24.1014 62.4 AWS CodeCatalyst. With no prior experience, deployed 2 CI/CD pipelines in one day. Awesome tool.

https://youtu.be/FIQTPo359D8?list=PLzde74P_a04d1roElg9DPWm5Bmavhi_97&t=372

image

CI/CD concepts (my focus)

Github-centric

The following is a very rough first draft diagram (my collage), showing CI/CD from my perspective (what my focus is). I will refine this diagram as I get more hands on experience.

image

AWS-centric

This is also a good one. I'm very interested in AWS pipelines as the center.

image

Diagrams

docx #108 Felix diagram

image





Todo

image

⚠️ **GitHub.com Fallback** ⚠️