Full-Stack Example: Secure your FastAPI / React app with SuperTokens

The code for this article is a template repository on GitHub, and can be found here: https://github.com/jmgraff/fastapi-strawberry-urql-supertokens. Feel free to use it as a starting point for your own apps. SuperTokens is an open source authentication solution for the apps you build. You might be interested in something like SuperTokens if: If any of that … Read more

Docker: failed to solve with frontend dockerfile.v0

This error is caused by docker-compose not being able to find a Dockerfile in your build context. Fix it by making sure your Dockerfile exists in that directory, and that there’s no typo in the name. It has to be named exactly “Dockerfile”. I came across this error when while working on a guide to … Read more

How to install the latest version of Docker on Ubuntu

You can install the latest version of Docker on Ubuntu with the following command: This will run the script described below, which is also hosted as a gist on GitHub. Why not use apt? The apt repository does not contain the latest version of Docker. As of this writing, the latest version of Docker is … Read more