Connect to api and setup basic homepage

This commit is contained in:
2020-02-09 19:40:34 +01:00
parent 3792b8e79f
commit d12f09ed08
7 changed files with 215 additions and 3 deletions

6
src/utils/API.js Normal file
View File

@@ -0,0 +1,6 @@
import axios from "axios";
export default axios.create({
baseURL: "https://dijkstra-backend.herokuapp.com/api",
responseType: "json"
});