{"size": 377, "ext": "js", "max_stars_repo_path": "client/src/api/index.js", "max_stars_repo_name": "EllairaT/SEEDS", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/src/api/index.js", "max_issues_repo_name": "EllairaT/SEEDS", "max_issues_repo_issues_event_min_datetime": "2021-04-28T04:50:17.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-16T11:24:54.000Z", "max_forks_repo_path": "client/src/api/index.js", "max_forks_repo_name": "EllairaT/SEEDS", "max_forks_repo_forks_event_min_datetime": "2021-05-11T02:44:17.000Z", "max_forks_repo_forks_event_max_datetime": "2021-05-11T02:44:17.000Z"}
{"max_stars_count": null, "max_issues_count": 4, "max_forks_count": 1, "avg_line_length": 31.4166666667, "max_line_length": 64, "alphanum_fraction": 0.6737400531}
import axios from 'axios'
//import { loginUser } from '../../../server/controllers/users'

const authUrl = 'http://localhost:5000/auth'
const url = 'http://localhost:5000/api'

const loginString = authUrl + '/login'
export const login = () => axios.get(loginString)
export const register = () => axios.get(authUrl)

export const fetchArticles = () => axios.get(url)
