Skip to content

christiannicola/api

 
 

Repository files navigation

codecov

Setup

  • Install Nix, instructions are found here nixos.org
  • Launch a development environment with nix develop
  • Build the project with nix build (output path is result/bin)
  • Test the project with nix develop -c make test (or run make test while inside the development shell)
  • Lint the project with nix develop -c make lint (or run make lint while inside the development shell)
  • Build a docker image with nix build .#container and load the image with docker load < result

All current dependencies are ready and available inside nix develop, so it is encouraged to use it for developing.

Upgrade

If the go.mod file changes due to an upgrade, please remember to run gomod2nix generate to rehydrate the gomod2nix.toml file. This file tracks the dependencies as separatate nix packages and are thus versioned with the flake.

About

Backend server for growteer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 91.6%
  • Nix 5.3%
  • Smarty 2.5%
  • Makefile 0.6%