Running the migration command to create the SQLite database
go run cmd/migrate/main.go -path=scheduleCompiling the project
go build -o bin/api cmd/api/main.goRunning the API server
# In development mode
go tools air run
# Or directly
go run cmd/api/main.go
# The binary
./bin/apiThis project is part of our unified suite of apps for the students of Democritus University of Thrace, these apps are intended to help students with their university life. One of the main reasons why we do open-source is so that people can build upon and expand on our work on their own terms, so, questions, contributions and feature requests are more than welcome.
For our API documentation visit opensource.cs.duth.gr/docs/, for our contribution Guidelines visit our "Contributing" page.
"github.com/google/uuid"
"go-sqlite3"
"github.com/golang-migrate/migrate/v4"
"github.com/golang-migrate/migrate/v4/database/sqlite3"
"github.com/golang-migrate/migrate/v4/source/file"
// Tools
"github.com/air-verse/air@latest"// TOOLS
go install -tags 'sqlite3' github.com/golang-migrate/migrate/v4/cmd/migrate@latestGNU General Public License v3.0