GithubHelp home page GithubHelp logo

scudbt / ucsb-courses-search Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ucsb-cs56-w20/ucsb-courses-search

0.0 0.0 0.0 1.11 MB

Spring Boot App to show similar information to that found at UCSB Curriculum Search page

Home Page: https://ucsb-courses-search.herokuapp.com

Java 64.98% HTML 34.34% Python 0.64% Shell 0.05%

ucsb-courses-search's Introduction

ucsb-courses-search

A project to:

You need an API Key to run this app

If you are a student in CS56, you can get an API key from your mentor.

Mentors, can get API keys by visiting https://developer.ucsb.edu/.

Once you have the API key, you need to do this:

  • Copy localhost.json.SAMPLE to localhost.json.

  • Edit localhost.json and put in the correct value of the key.

  • Each time you fire up a terminal window to run the app, you need to do

    source env.sh
    

    That will define SPRING_APPLICATION_JSON to have the extra values defined in localhost.json

  • Then run mvn spring-boot:run

Values needed in SPRING_APPLICATION_JSON

  • Google OAuth client-id and client-secret

  • UCSB API key

  • MongoDB username/password for ArchivedCourseData

  • If there are feature flag values in the localhost.json.SAMPLE, you may choose the value appropriate to the feature(s) you are working on.

    For example, if there is a feature flag "app.feature.multiple_schedules":"false" you may want to set that to true if you are working on that feature. Otherwise, you can leave it as false. These values are typically set to false in application.properties anyway, so you can typically also just delete those lines in your localhost.json or heroku.json.

Using Maven

Type this to get this result
mvn package to make a jar file
mvn spring-boot:run to run the web app

Some values for application.properties

Value Sample Value Explanation
app.start_quarter S20 The first quarter shown in quarter selection menus.
app.end_quarter F17 The last quarter shown in quarter selection menus

Note concerning app.start_quarter and app.end_quarter

The order given is the order in which the quarters appear in the menus. If they are given in reverse order, the orders will be reversed.

For example if start is S20 and end is F17, the quarters will appear in reverse chronological order. If start is F17 and end is S20, they will appear in chronological order.

The oldest quarter for which data is available is F83

ucsb-courses-search's People

Contributors

pconrad avatar andrewjgaut avatar jackkilgore avatar btk5h avatar justintjoa-portfolio avatar ryan8xia avatar andrewhlu avatar ramonverdin avatar alex-shortt avatar jaoyama73 avatar brandonbai18 avatar kerem-signifai avatar amandaserex avatar agprice avatar arthurg0 avatar kh07 avatar jku876 avatar lele521 avatar timothyuan avatar gvking avatar kimiamajd-canal avatar watercannons avatar zsisco avatar kgusdorf avatar benye11 avatar ishana-narayanan avatar kellyyeh avatar finnderman1 avatar mzhang0808 avatar samhita-h avatar

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.