gobank

command module
v0.0.0-...-8260ac6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 14 Imported by: 0

README

GoBank

GoBank is a API make in Golang using Docker container Postgres as database
This api was create following a tutorial by Anthony GG from Youtube

Command used for create Docker container Postgres
For create Docker Postgres image, were used this default command from Postgres' documentation https://hub.docker.com/_/postgres

docker run --name some-postgres -e POSTGRES_PASSWORD=gobank -p 5432:5432 -d postgres

For rerun image docker start some-postgres(nome da image)

Using psql inside container docker exec -it psql -U <project's name, in that case: postgres>

ADD COLUMN in db ALTER TABLE account ADD COLUMN encrypted_password VARCHAR(50) NOT NULL DEFAULT('n/a');

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL