Skip to content

Commit

Permalink
adding components and utilites and api and types
Browse files Browse the repository at this point in the history
  • Loading branch information
moriyad12 committed Jul 23, 2024
1 parent 25f2b08 commit 04ba333
Show file tree
Hide file tree
Showing 9 changed files with 314 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
},
"dependencies": {
"@mdi/font": "7.4.47",
"@types/axios": "^0.14.0",
"axios": "^1.7.2",
"core-js": "^3.37.1",
"roboto-fontface": "*",
"vue": "^3.4.31",
Expand Down
86 changes: 86 additions & 0 deletions client/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions client/src/api/axios.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// src/axiosInstance.ts
import axios, { AxiosInstance } from 'axios';

const axiosInstance: AxiosInstance = axios.create({
baseURL: '',
timeout: 1000,
headers: { 'Content-Type': 'application/json' },
});

export default axiosInstance;
Empty file added client/src/components/test.ts
Empty file.
Empty file added client/src/types/types.ts
Empty file.
Empty file.
137 changes: 137 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dependencies": {
"@types/axios": "^0.14.0",
"axios": "^1.7.2",
"yarn": "^1.22.22"
}
}
Loading

0 comments on commit 04ba333

Please sign in to comment.