csye7125-fall2023-group05/webapp

๐Ÿ—„๏ธ health check to include db connection

Closed this issue ยท 3 comments

The database connection should return 200 OK or 503 Unavailable depending on what is the status of the database service. In our case, we're using postgres, so we will have to test the connection accordingly.

Postgres works on PORT: 5432

To start or stop the postgresql service (on MacOS), use the following commands:

brew services start postgresql@15
brew services stop postgresql@15

๐ŸŽ‰ This issue has been resolved in version 1.0.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€