This is a full stack app built with Next.js, Golang, Docker and PostgreSQL.
There are some special concepts about a real app, like api, fetching data, database connection, env vars, authentication, styling, image serving, docker and so on.
Leave a star if you like it! :D
.env
files were commited to simplify your work.
Follow the instructions in the Docker official docs
You have to use Docker Compose, just run this inside the kleon
folder:
docker compose up
The first time you execute this docker compose app, it may take a bit longer, just wait.
If you are waiting for so long, just refresh backend app, to do this, just save or press CTRL
+ S
in any .go
file.
You doens't need to use Docker in frontend, just run this inside the kleon/frontend
folder:
yarn dev