Play the Game: Dealing with the Error
Explore how to run a full stack application by setting up the Postgres database, initializing it, running the Flask API server, and launching the React client. Understand how to monitor server activity, debug with developer tools, and interact with the database REPL to manage game data and troubleshoot errors effectively.
We'll cover the following...
We'll cover the following...
The necessary steps
The following should be a review, but since the details are spread through multiple chapters, it may be helpful to see it outlined in one place.
- We need to choose whether we’ll be running this on SQLite or on Postgres. Here, we’ll choose Postgres, since it’s a slightly more complicated process. If we’re running Postgres, we might want to ensure that Postgres is running. In Mac, if we run the database using Homebrew, which we recommended, then we can check it using
brewservices list. In Windows, we runservices.mscto open up a graphical user interface that controls the services on the machine. We