Creating the database
Now, we will create the PostgreSQL 10.5 database that we will use as a repository for our API. You will have to download and install a PostgreSQL database server if you aren't already running it in your computer or on a development server. You can download and install this database management system from its web page (http://www.postgresql.org). If you are working with macOS, Postgres.app
provides a really easy way to install and use PostgreSQL on this operating system. You can refer to it from http://postgresapp.com. If you are working with Windows, EnterpriseDB and BigSQL provide graphics installers that simplify the configuration process on modern Windows server or desktop versions (visit https://www.postgresql.org/download/windows for more information).
Notice that the examples have been tested with PostgreSQL 10.5 on macOS, Linux, and Windows.
Note
You have to make sure that the PostgreSQL bin
folder is included in the PATH
environmental variable. You should be able...