Created Woodpecker CI/CD deployment
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

- Created Dockerfile for packing up API and Web projects as Docker image
This commit is contained in:
2023-03-27 21:48:25 -05:00
parent baf38aa3cd
commit 456b8ef75b
143 changed files with 30917 additions and 18248 deletions

19
Web/src/api/v1/misc.js Normal file
View File

@ -0,0 +1,19 @@
import { callExternalApi } from "../apiHelper";
const apiServerUrl = `${process.env.REACT_APP_API_BASE_URL}/v1/Misc`;
export const getWebsiteMetaData = async(accessToken, url) => {
const config = {
url: `${apiServerUrl}/GetWebsiteMetaData`,
method: "GET",
headers: {
"content-type": "application/json",
Authorization: `Bearer ${accessToken}`
},
params: {
'url': url
}
};
return await callExternalApi({config});
}