Skip to content

ulrokx/raduty-s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RA Duty Scheduler Server

This is the backend for the Resident Assistant scheduling tool. It is written in Go 1.17. It uses GORM as an ORM and Gin as a router/context manager.

Setup Server

this should ideally be set up with the frontend here.

  1. Download Golang, the default installer for whatever platform should work fine.
  2. Download PostgreSQL, this is required for the server to run.
  3. Clone this repository with git clone https://github.com/ulrokx/raduty-s.git
  4. Run go mod download in the main directory that has the go.mod file.
  5. Run go run ./main.go

To Do

  • Algorithm in /api/controllers/schedule.go doesn't always fill the days up.
  • Extract the main generation function out to test separately
  • Write tests :-)
  • Add camel case json tags to structs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published