ACM at CSUF club API for managing events, announcements, forms, and other services! See the docs/
directory for more information on using and contributing to this project.
This project requires that you have Go, sqlc, GNU Make, and optionally Air installed. We recommend using the provided Nix development environment, see below.
Air will recompile the project on the fly so you don't have to restart the server when you make changes.
air
To compile and run manually, you can use one of the following:
make # Compile program
./bin/api # Run program
OR
make run
make check # Run checks
make test # Run tests (None yet)
make sql-fix # Format and fix SQL files
make clean # Removes all build artifacts
-
Install nix and optionally direnv if you don't already have them
-
Run
direnv allow
at the project root. If you don't want to use direnv, you can usenix develop
to achieve the same thing, but you will need to run it every time you enter the project.
Developed with 💚 by @acmcsufoss