Skip to content

Latest commit

 

History

History
60 lines (53 loc) · 1.39 KB

README.md

File metadata and controls

60 lines (53 loc) · 1.39 KB

Extraordinary-raport-service

Extraordinary-raport-service adalah aplikasi yang melayani management penilaian siswa (sikap dan perkembangan capaian) dengan adanya aplikasi ini rekapitulasi dan statistika menjadi lebih mudah. Sebagai service tentu saja ini tidak hanya dipakai untuk 1 aplikasi client tetapi dapat menjadi data utama dari banyak aplikasi nantinya

Installation

Clone aplikasi kemudian jalankan

$ git clone https://github.com/shellrean/extraordinary-raport-service.git
$ cd extraordinary-raport-service 
$ go run app/main.go

Pastikan directory storage writeable 775

Configuration

Create config.yml file

# Server config
server:
  host: 127.0.0.1
  port: 9000
  timeout:
    server: 30
    read: 15
    write: 10
    idle: 5
# Security config
security:
  cors: 
    host: "*"
    method: "POST, OPTIONS, GET, PUT, DELETE"
# Database config
database:
  username: "postgres"
  password: ""
  dbname: ""
  host: "localhost"
  port: "5432"
  timezone: "Asia/Jakarta"
# Cache config
redis:
  enable: false
  password: ""
  dbname: 0
  host: "localhost"
  port: "6379"
# Context config
context:
  timeout: 2
# Release config
release: true

Contributing

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

License

MIT