Skip to content

Technical Readings

Earl Fong edited this page Feb 26, 2021 · 19 revisions

A Collection of Tech Resources

Automated testing

unittest — Unit testing framework
https://docs.python.org/3/library/unittest.html

Unit Testing a Flask Application
https://www.patricksoftwareblog.com/unit-testing-a-flask-application/

Welcome to nose2
https://docs.nose2.io/en/latest/index.html

Logging

logging — Logging facility for Python
https://docs.python.org/3.5/library/logging.html

CORS (cross origin resource sharing)

Cross-origin resource sharing
https://en.wikipedia.org/wiki/Cross-origin_resource_sharing

Flask-Cors 3.0.0 https://pypi.org/project/Flask-Cors/

API Docs (for Flask-Cors)
https://flask-cors.corydolphin.com/en/latest/api.html

CORS : Understanding Cross Origin Resource Sharing
https://www.arbazsiddiqui.me/cors-understanding-cross-origin-resource-sharing/

Mozilla Developer Network Documentation on CORS
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Flask

Modular Applications with Blueprints
https://flask.palletsprojects.com/en/1.1.x/blueprints/

Client (HTML / CSS / JS)

Example fetch api
https://developers.google.com/web/updates/2015/03/introduction-to-fetch

fetch api: POST in JSON
https://gomakethings.com/how-to-send-data-to-an-api-with-the-vanilla-js-fetch-method/#:~:text=Sending%20data%20as%20a%20JSON%20object%20%23&text=For%20your%20headers%5B'Content,POST'%2C%20body%3A%20JSON.

Mozilla Developer Network
https://developer.mozilla.org/

Using Fetch in JavaScript
https://medium.com/javascript-in-plain-english/using-fetch-in-javascript-c22f0c426753

How to make HTTP requests using Fetch API and Promises
https://medium.com/@armando_amador/how-to-make-http-requests-using-fetch-api-and-promises-b0ca7370a444

Master the JavaScript Interview: What is a Promise?
https://medium.com/javascript-scene/master-the-javascript-interview-what-is-a-promise-27fc71e77261

Building Requests | Postman
https://learning.postman.com/docs/sending-requests/requests/

REST API Examples

OMDB API (movies)
http://www.omdbapi.com/

Stripe API
https://stripe.com/docs/api

Data Modeling

Entity–relationship model
https://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model

Security

OWASP Top Ten (Open Web Application Security Project)
https://owasp.org/www-project-top-ten/

Security Intro | FastAPI
https://fastapi.tiangolo.com/tutorial/security/

JWT (JSON Web Tokens)
https://jwt.io/

Auth0

Create a Tenant and Learn the Basics | Auth0
https://auth0.com/docs/get-started/learn-the-basics

Mobile + API | Auth0
https://auth0.com/docs/architecture-scenarios/mobile-api

Mobile + API: Solutions Overview | Auth0
https://auth0.com/docs/architecture-scenarios/mobile-api/part-1#api-authentication-and-authorization

Mobile + API: API and Mobile Configuration | Auth0
https://auth0.com/docs/architecture-scenarios/mobile-api/part-3#implement-the-mobile-app

Authorization Code Flow with Proof Key for Code Exchange (PKCE)
https://auth0.com/docs/flows/authorization-code-flow-with-proof-key-for-code-exchange-pkce

Auth0 Review | Capterra
https://www.capterra.com/p/154900/Auth0/reviews/

Espresso Reviews API (Test Application)
https://manage.auth0.com/dashboard/us/espresso-dev/applications/FesDY45isfIHdoSEZ1dwuVFyTh6zkgRJ/quickstart

Custom Signup | Using the API
https://auth0.com/docs/libraries/custom-signup#using-the-api

Docker

Docker Container Security 101: Risks and 33 Best Practices
https://www.stackrox.com/post/2019/09/docker-security-101/

Don’t Embed Configuration or Secrets in Docker Images
https://medium.com/@mccode/dont-embed-configuration-or-secrets-in-docker-images-7b2e0f916fdd

Running Docker Container as a Non Root User
https://www.tutorialspoint.com/running-docker-container-as-a-non-root-user

Use bind mounts
https://docs.docker.com/storage/bind-mounts/

Use volumes
https://docs.docker.com/storage/volumes/

Docker Hardening Guide
https://docs.paloaltonetworks.com/cortex/cortex-xsoar/5-5/cortex-xsoar-admin/docker/docker-hardening-guide.html

Docker Compose Up With Postgres Quick Tips
https://hashinteractive.com/blog/docker-compose-up-with-postgres-quick-tips/

Miscellaneous

ISO 8601 (Representation of dates and times)
https://en.wikipedia.org/wiki/ISO_8601

The Twelve-Factor App
https://12factor.net/