Welcome to courses-backend, an express server setup to deliver information on Georgia Tech courses.
To run the server, navigate to the root directory of the application in the cli and run the command node app.js
. It is configured to run locally on port number 3000.
For a list of all courses:
/api/course
For accessing a list of courses from one subject:
/api/course/:subject
For example, /api/course/ACCT
For accessing a specific course:
/api/course/:subject/:number
For example, /api/course/ACCT/2101
There is also a route that queries the coursecritique website:
/api/coursecritique/:id
For example /api/coursecritique/ACCT2101
.