[add] Initial commit

Boilerplate + sops encrypted envs
This commit is contained in:
2022-08-22 14:17:56 -06:00
commit b639ed5157
164 changed files with 5952 additions and 0 deletions

14
frontend/src/env.ts Normal file
View File

@@ -0,0 +1,14 @@
const env = process.env.VUE_APP_ENV;
let envApiUrl = '';
if (env === 'production') {
envApiUrl = `https://${process.env.VUE_APP_DOMAIN_PROD}`;
} else if (env === 'staging') {
envApiUrl = `https://${process.env.VUE_APP_DOMAIN_STAG}`;
} else {
envApiUrl = `http://${process.env.VUE_APP_DOMAIN_DEV}`;
}
export const apiUrl = envApiUrl;
export const appName = process.env.VUE_APP_NAME;