26 lines
926 B
Markdown
26 lines
926 B
Markdown
# go-api-template
|
|
|
|
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` |