Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 928 Bytes

README.md

File metadata and controls

61 lines (38 loc) · 928 Bytes

api.acmcsuf.com

ACM at CSUF club API for managing events, announcements, forms, and other services!

Develop

Start API server

go run cmd/api/main.go

Generate code

go generate ./...

Run tests

go test ./...

Format code

go fmt ./...

Or use the Makefile instead

Start API server

make run

Run checks and tests

make test

Format and fix SQL files

make sql-fix

To use the Nix dev shell

  1. Install nix and direnv if you don't already have them

  2. Run direnv allow at the project root. If you don't want to use direnv, you can use nix develop to achieve the same thing, but you will need to run it every time you enter the project.

Developed with 💚 by @acmcsufoss