A Go port of an older group project, with some upgrades, and personal changes. The original API was written in Python and was filled with bugs, and the code was horrendous. This rewrite uses Go and will use better practices and technologies.
This project is being made for fun and to learn some of the ins-and-outs of Go, and therefore will not be hosted, if you wish to host this for whatever reason, here's the steps you need:
- Configure Postgres
- Install Postgres 16
- Create database
- Export login url as an environment variable
- Install Go (use your preferred package manager)
- Run the script
- run
go build -o dist/server.exe
- run the generated executable
- run
- Assuming I didn't mess up tables, you should now have a fully running high-performance, bare-bones rewrite of the DPH API
The AI used to generate some of the repetitive error statements and commenting was Codeium. Other than that, most if not all of the functionality code was written by me.
Contributions would be greatly appreciated. We recommend forking the project and making pull requests if you choose to contribute code. If you need to report issues, please use the issues tab on GitHub