- Docker installed
- GO installed
- Clone the repository
- Run
docker compose build
in the root directory - Run
docker-compose up -d goapp
in the root directory - Run
docker-compose up -d nextapp
in thefrontend
directory - Run
docker exec -it db psql -U postgres
in the terminal to access the database - Type
\l
to list all databases - Type
\dt
to list all tables - Type
select * from users;
to see the users table - Go to
http://localhost:3000
in the browser to see the frontend
- Run
docker-compose down
in the root directory - Type
exit
in the terminal to exit the database