Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 849 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 849 Bytes

CourseReco-server

API server for the Course Recommender project

Usage

cargo run

API

Currently only one service is supported

> curl -X GET http://localhost:8000/recom -d '{"liked": "MAT 135A", "k": 3, "subjects": "MAT,ECS,STA" }'
STA 131A,STA 103,ECS 020

Acknowledgement

Template of this server is from zupzup/rust-minimal-web-service-hyper. Visit this blog for detail explanation.

ToDo

  • Support for other API calls
  • log system instead of printing everything
  • Integration with SchedGo, respond with JSON of all course info from SchedGo
  • better json response format
  • better error handling system (no panic)