Run admin in development and connect to running hetty #47
Answered
by
dstotijn
MichalZalecki
asked this question in
Q&A
-
Is there any other way to develop admin with |
Beta Was this translation helpful? Give feedback.
Answered by
dstotijn
Nov 17, 2020
Replies: 1 comment 1 reply
-
Yes, here's what I do when I'm developing:
Then I visit http://localhost:3000 and use that as I code. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MichalZalecki
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, here's what I do when I'm developing:
modd
from the root directory of the repository, for runninghetty
on:8080
with file watching of*.go
filesyarn dev
from theadmin
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.