Skip to content

Run admin in development and connect to running hetty #47

Answered by dstotijn
MichalZalecki asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, here's what I do when I'm developing:

  • Run modd from the root directory of the repository, for running hetty on :8080 with file watching of *.go files
  • Run yarn dev from the admin directory. This runs Next.js in dev mode with file watching/hot reloading. It runs on http://localhost:3000, and proxies API reqs to the Go server running on :8080 (src)

Then I visit http://localhost:3000 and use that as I code.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MichalZalecki
Comment options

Answer selected by MichalZalecki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants