chore: Added needed packages to update DB stuff

This commit is contained in:
syrell 2024-10-31 21:49:03 +01:00
parent fc6d737398
commit 8da87b1add

View File

@ -9,4 +9,12 @@ Chirpy relies on a Postgres database (the database should be created first). Nee
* DB_URL: Postgres URL connection * DB_URL: Postgres URL connection
* PLATFORM: dev, on purpose of the course * PLATFORM: dev, on purpose of the course
* JWT_SECRET: can be generated using `openssl rand -base64 64` * JWT_SECRET: can be generated using `openssl rand -base64 64`
* POLKA_KEY: predefined dummy API key used to illustrate webhook feature * POLKA_KEY: predefined dummy API key used to illustrate webhook feature
In order to modify DB schema/queries additional libraries are also needed:
[source,shell]
----
$ go install github.com/pressly/goose/v3/cmd/goose@latest
$ go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
----