{"size": 1475, "ext": "js", "max_stars_repo_path": "frontend/src/constants.js", "max_stars_repo_name": "archeelp/MicrosoftEngage", "max_stars_repo_stars_event_min_datetime": "2021-11-29T08:37:29.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-17T10:13:13.000Z", "max_issues_repo_path": "frontend/src/constants.js", "max_issues_repo_name": "archeelp/Microsoft-Engage", "max_issues_repo_issues_event_min_datetime": "2021-12-07T05:33:04.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-07T05:33:04.000Z", "max_forks_repo_path": "frontend/src/constants.js", "max_forks_repo_name": "archeelp/Microsoft-Engage", "max_forks_repo_forks_event_min_datetime": "2021-11-28T18:23:18.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-14T18:51:09.000Z"}
{"max_stars_count": 11, "max_issues_count": 1, "max_forks_count": 4, "avg_line_length": 29.5, "max_line_length": 72, "alphanum_fraction": 0.553220339}
export const baseURL =
  process.env.NODE_ENV === "development"
    ? "http://localhost:4000"
    : "https://microsoft-engage-2021.herokuapp.com";

export const publicURL = "https://agitated-meninsky-1ac119.netlify.app";

export const languages = [
  { key: "C", value: "C" },
  { key: "C++", value: "CPP" },
  { key: "C++11", value: "CPP11" },
  { key: "C++14", value: "CPP14" },
  { key: "Clojure", value: "CLOJURE" },
  { key: "C#  CSHARP" },
  { key: "Go", value: "GO" },
  { key: "Haskell", value: "HASKELL" },
  { key: "Java", value: "JAVA" },
  { key: "Java 8", value: "JAVA8" },
  { key: "JavaScript(Rhino)", value: "JAVASCRIPT" },
  { key: "JavaScript(Nodejs)", value: "JAVASCRIPT_NODE" },
  { key: "Kotlin", value: "KOTLIN" },
  { key: "Objective C", value: "OBJECTIVEC" },
  { key: "Pascal", value: "PASCAL" },
  { key: "Perl", value: "PERL" },
  { key: "PHP", value: "PHP" },
  { key: "Python 2", value: "PYTHON" },
  { key: "Python 3", value: "PYTHON3" },
  { key: "R", value: "R" },
  { key: "Ruby", value: "RUBY" },
  { key: "Rust", value: "RUST" },
  { key: "Scala SCALA" },
  { key: "Swift", value: "SWIFT" },
  { key: "Swift 4.1", value: "SWIFT_4_1" },
];

export const languagesMap = {
  ...Object.fromEntries(
    languages.map((language) => [language.key, language.value])
  ),
  ...{
    CPP11: "cpp",
    CPP14: "cpp",
    CLOJURE: "coljure",
    JAVA8: "java",
    JAVASCRIPT_NODE: "javascript",
    PYTHON3: "python",
    SWIFT_4_1: "swift",
  },
};
