Categorygithub.com/fandredev/go-react-server
modulepackage
0.0.0-20241216194045-8c4451cec7de
Repository: https://github.com/fandredev/go-react-server.git
Documentation: pkg.go.dev

# README

Stack used


Authors

Run Postgres/pgadmin with Docker

Note: please, check the .env.example file to change variables

docker-compose up

Note: Run command below to run your containers in detach mode (free terminal to type)

docker compose up -d

Screenshots:

image

Note:

  • the pgadmin can slowly initialize. wait for between 30 and 50 seconds to start.
  • Open http://localhost:8081/ to navigate to postgres page. Use your login defined in .env (check the .env.example before) image

After you logged, click in Servers > Register > Server:

image

Put a name from server:

image

click in connection and view the .env.example to be able fill the fields below.:

image

save the connection and enjoy! 😃

Generate queries

go generate ./...

Run server

go run cmd/wsrs/main.go

# Packages

No description provided by the author