Connecting to a PostgreSQL DB on CloudSQL via Python server running on Cloud RunOnce we have our PostgreSQL database running on CloudSQL, with the flag cloudsql.iam_authentication set to on. We can now have a look at how we could create a Python FastAPI backend that connects to the database. Let's start by creating a project fol...4 min read·vic0de.hashnode.devMay 8, 2024
Getting started with PostgreSQL and PythonStart by running your Docker Desktop application. Then via the command line run the following command to pull the latest postgres image and start an instance. docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword --name postgres_docker pos...3 min read·vic0de.hashnode.devMay 5, 2024
Dockerizing a Hello World Express App and Uploading to GCP Artifact RegistryOur express app is a very simple API that listens on port 3000. And has a single endpoint of root, which returns a JSON message of Hello World. Create a new folder named hello-express-app and cd into it. mkdir hello-express-app && cd hello-express-ap...4 min read·vic0de.hashnode.devJan 14, 2024
Building a simple REST API using Nodejs, Expressjs, Prisma, and SQL - Part 04Setting up Folder Structure, and Refactoring6 min read·vic0de.hashnode.devOct 2, 2023
Building a simple REST API using Nodejs, Expressjs, Prisma, and SQL - Part 03Setting up TypeScript and Validation with Zod4 min read·vic0de.hashnode.devOct 1, 2023