Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.

Latest commit

 

History

History
33 lines (17 loc) · 782 Bytes

README.md

File metadata and controls

33 lines (17 loc) · 782 Bytes

courses-backend

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.

Using the routes

Static Course Info

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

Course Critique Query

There is also a route that queries the coursecritique website:

/api/coursecritique/:id

For example /api/coursecritique/ACCT2101.