Skip to content

Latest commit

 

History

History
70 lines (55 loc) · 2.15 KB

File metadata and controls

70 lines (55 loc) · 2.15 KB

OpenSourceDUTH API

Running the migration command to create the SQLite database

go run cmd/migrate/main.go -path=schedule

Compiling the project

go build -o bin/api cmd/api/main.go

Running the API server

# In development mode
go tools air run
# Or directly
go run cmd/api/main.go   
# The binary
./bin/api


🤝 Contributing

This 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.



Dependencies

"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@latest

License

GNU General Public License v3.0