This is the API for the live-music-archiver-extension
You must have Go installed. Version 1.13 or higher is recommended.
You must have PostgreSQL installed. Version 12 or higher is recommended.
Clone this repository and run go build
in the root directory. This will create a binary file called 'live-music-archiver-api'.
Run the 'db.sql' file in your PostgreSQL database. This will create the database and tables. Create a user and grant them access to the database.
Create a file called '.env' in the server
directory. This file will contain your environment variables. Refer to the .env.example
file for the required variables.
Update the config.json
file in the server
directory. This file contains the configuration for the API.
Run the binary file. This will start the API.
This API is build using Echo.
The database is managed using go-pg (this will be changed in the future).