VATEUD API that's used by most of our websites.
Requirement - Go
- Copy and edit the env file
cp .env.example .env- Migrate the tables (you can find them here)
mysql -u username -p database < api/api.sql- Build the API
go build cmd/api/main.go- Start/Restart the daemon service (a simple example can be found here)
Start
sudo service name_of_the_service enable && sudo service name_of_the_service startRestart
sudo service name_of_the_service restartPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.