Backend of serverless-calculator project (just a regular calculator, but serverless, because why not?)
Archived Executables:
You can find executables in the release page of each version. It's automatically generated by goreleaser. Current stable version is v1.1.1
For now executable can be run for console app and function app. Run it with console / function argument
To run console app, go to the executable folder and run command ./serverless-calculator console and type the operation input
To run function app, go to the executable folder and run command ./serverless-calculator function and try to hit the cURL specified in Features
How To Compile
If you dont find your OS architecture in Archived Executable, you can run command make build to build your own executable (already tested for darwin/arm64)
How To Test In Local Without Compiling
Testing in console: run the command make console
Testing with local HTTP function make local_function
Collaborating
Fork and develop in your local computer, dont forget to run . setup-pre-commit-hooks.sh to setup pre-commit-hooks
To make sure your Pull Request doesn't introduce significant performance degradation, run Load Test Workflow (artifact of last production-env-mocking server could be downloaded here)
Features
For Console app, currently the feature of latest executable: