added taskfile, goreleaser started frontend template started, added fiber dependency

This commit is contained in:
2021-07-25 22:54:14 -04:00
parent 0660e925ab
commit cd8fb5ca54
25 changed files with 16789 additions and 1 deletions

View File

@@ -1,3 +1,26 @@
# go-api-template
Template for go-fiber with react frontend.
Template for go-fiber with react frontend.
## Developing
Requirements:
This project uses `task` for its "make" replacement. It is highly recommended if you want to develop for goInventorize.
goreleaser is for building/releasing, will be automatically installed via task using the `task install-all` command.
Read up more on the external tools:
- [goreleaser](https://goreleaser.com/)
- [task](https://taskfile.dev/)
## Starting Development
After you have installed task, essentially all management can be done through that.
1. Install all the dependencies: `task install-all`
2. Launch frontend and backend for integration work (not recommended for frontend only since it requires a build of the frontend every time) `task run-all -w`
1. For frontend only work: `task run-frontend` // No watch (-w) is needed since npm spins up its own server
2. For backend only work: `task run-backend -w`