Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 700 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 700 Bytes

PostgreSQL Example

Example project using postgres with pyodbc docker image.

Running

Create a .env file using the example file.

$ cp .env.example .env

Run the example.

$ docker-compose up

Output

The output of the application should look like this.

app_1    | Establishing mssql database connection.
app_1    | Create a new table for users.
app_1    | Populate users data.
app_1    | List of data.
app_1    | ID    NAME            CITY
app_1    | --------------------------------
app_1    | 1     Laura Levy      Evanberg
app_1    | 2     Justin James    Caseyport
app_1    | 3     Peggy Joseph    Baker Haven
app_1    | Closing the connection.