{"size": 750, "ext": "js", "max_stars_repo_path": "client/src/utils/API.js", "max_stars_repo_name": "jmuncrief/p3_cocktail_lounge", "max_stars_repo_stars_event_min_datetime": "2020-10-09T17:51:55.000Z", "max_stars_repo_stars_event_max_datetime": "2020-10-12T22:37:26.000Z", "max_issues_repo_path": "client/src/utils/API.js", "max_issues_repo_name": "jmuncrief/p3_cocktail_lounge", "max_issues_repo_issues_event_min_datetime": "2020-10-15T21:56:10.000Z", "max_issues_repo_issues_event_max_datetime": "2020-10-18T23:30:30.000Z", "max_forks_repo_path": "client/src/utils/API.js", "max_forks_repo_name": "jmuncrief/p3_cocktail_lounge", "max_forks_repo_forks_event_min_datetime": "2020-11-28T20:43:40.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-28T20:43:40.000Z"}
{"max_stars_count": 2, "max_issues_count": 2, "max_forks_count": 1, "avg_line_length": 30.0, "max_line_length": 60, "alphanum_fraction": 0.62}
import axios from "axios";

export default {
    newUser: function(userInfo) {
        return axios.post("/api/users/signup", userInfo);
    },
    newCustom: function(recipeData) {
        return axios.post("/api/recipe/custom", recipeData);
    },
    getCustoms: function(ids) {
        return axios.post("/api/recipe/ids", ids)
    },
    addFavorite: function(recipeData) {
        return axios.post("/api/recipe/fave", recipeData)
    },
    getFavorites: function(ids) {
        return axios.post("api/recipe/faves", ids)
    },
    getOneFaveRecipe: function(name) {
        return axios.post("api/recipe/onefave", {key: name})
    },
    getOneCustRecipe: function(name) {
        return axios.post("api/recipe/onecust", {key: name})
    }
}