basic backend and frontend communication done

This commit is contained in:
2021-08-29 15:06:00 -04:00
parent b9ee7d0790
commit 542c6e32c8
11 changed files with 209 additions and 2658 deletions

View File

@@ -7,7 +7,7 @@ env:
RELEASE_MSG: "First official release of the project"
GO_VERSION: 1.16.3
GI_SERVER_PORT: 3500
REACT_APP_BACKEND_PORT: 3500 #Frontend can't find backend port unless we specify it
REACT_APP_BACKEND_PORT: 3500 #Frontend can't find backend port unless we specify it (for DEV only, does not work when built obv)
tasks:
build:
@@ -35,6 +35,8 @@ tasks:
- install-goreleaser
release-local:
deps:
- build-frontend
cmds:
- goreleaser check
- goreleaser release --snapshot --skip-publish --rm-dist
@@ -43,6 +45,8 @@ tasks:
summary: |
Requires the GITHUB_TOKEN env variable to release to github
Make sure you push a tag to github if it is a versioned release
deps:
- build-frontend
cmds:
- git tag -a {{.CURRENT_RELEASE}} -m {{.RELEASE_MSG}}
- git push origin {{.CURRENT_RELEASE}}
@@ -52,6 +56,8 @@ tasks:
summary: |
Requires the GITHUB_TOKEN env variable to release to github
Releases an unversioned snapshot to github
deps:
- build-frontend
cmds:
- goreleaser release --snapshot --rm-dist --debug