Coder Social home page Coder Social logo

sandboxnu / course-catalog-api Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 4.0 20.08 MB

API for Course Catalog, Courses, Sections, and Search! Used by SearchNEU and GraduateNU

License: GNU Affero General Public License v3.0

JavaScript 16.06% TypeScript 76.51% Shell 0.82% HTML 0.38% HCL 6.03% Dockerfile 0.20%

course-catalog-api's People

Contributors

andrewydai avatar dependabot[bot] avatar dillonhammer avatar gamburgm avatar hankewyczz avatar lucas-dunker avatar megandouli avatar pranavphadke1 avatar sebwittr avatar simchadha avatar soulwa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

course-catalog-api's Issues

Search NEU eventual notification backend needs data to notify

On the new updater, we should send bodies of the following form to https://searchneu.com/api/notify_users:

// records of hash -> search query info
{
  updatedCourses: CourseNotificationInfo[];
  updatedSections: SectionNotificationInfo[];
}

Where CourseNotificationInfo and SectionNotificationInfo are defined as

type CourseNotificationInfo = {
  courseCode: string;
  courseHash: string;
  term: string;
  numberOfSectionsAdded: number;
  campus: string;
};

type SectionNotificationInfo = {
  courseCode: string;
  sectionHash: string;
  term: string;
  seatsRemaining: number;
  crn: string;
  campus: string;
};

and courseCode is subject + classID (for instance, CS 2500)

(subject to change, mostly when @gamburgm and @dajinchu stop talking about Alignable)

GraphQL course IDs should be strings not numbers

Currently, the classID field of a Class is a number. This causes id's with leading 0's such as "0045" to get truncated to "45." While this can be solved by using leftPad or something, we should make a string to restore the leading 0's

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.