Rewrite phase 1.
Started improved client code structure. Implemented session based authentication serverside. Implemented user, match, and sport database models serverside. Implemented Controllers for variety of C and R operations of CRUD.
This commit is contained in:
6
sports-matcher/client/src/utils/httpClients.js
Normal file
6
sports-matcher/client/src/utils/httpClients.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import axios from "axios";
|
||||
|
||||
export const apiClient = axios.create({
|
||||
baseURL: process.env.API_HOST,
|
||||
timeout: 5000,
|
||||
});
|
||||
Reference in New Issue
Block a user