Welcome! I originally built this as an internal tool to build a UCI app that relies on course times and location. While building this out, I thought why not just go ahead and build an API for all of you ambitious UCI developers so that you guys can create amazing apps as well!
The API server is deployed on Heroku at
uci-course-api.heroku.com
- GET
/courses/title/:title
- Returns all courses and relevant sessions by course
title
- Returns all courses and relevant sessions by course
- GET
/courses/department/:department
- Returns all courses and relevant sessions by
department
- Returns all courses and relevant sessions by
- GET
/courses/number/:number
- Returns all courses and relevant sessions by course
number
- Returns all courses and relevant sessions by course
- GET
/courses/department/:department/title/:title
- Returns all courses and relevant sessions by department and course
title
- Returns all courses and relevant sessions by department and course
- GET
/courses/department/:department/number/:number
- Returns all courses and relevant sessions by department and course
number
- Returns all courses and relevant sessions by department and course
- For specialized requests on endpoints, please send me a pm
- When talking about the department endpoint, the API is referring to the abbreviated format (department code).
- Eg. for all Computer Science courses, the parameter for :department would be
COMPSCI
.
- Eg. for all Computer Science courses, the parameter for :department would be
- For a list of all department codes, please refer to the UCI Webreg. There is a dropdown in the form that has reveals the list. You can easily go into the source code of the html page and copy the entire list!
- Node
- PostgreSQL
From within the root directory:
sudo npm install -g bower
npm install
Start up PostgreSQL server with correct relations setup, and from within the root directory:
npm run start
Then send your requests to localhost:8080
View the project roadmap here
See CONTRIBUTING.md for contribution guidelines.