renaming api

This commit is contained in:
talksik
2022-06-08 04:49:07 -05:00
parent 1a79fb4c36
commit 87be0e303f
16 changed files with 114 additions and 0 deletions
-27
View File
@@ -1,27 +0,0 @@
interface EnvironmentConfig {
MONGO_CONNECTION_STRING: string;
JWT_TOKEN_SECRET: string;
GOOGLE_AUTH_CLIENT_ID: string;
}
// keep private
const getEnvironmentVariables = (): EnvironmentConfig => {
// TODO
if (process.env.NODE_ENV === 'production') {
//
}
if (process.env.NODE_ENV === 'development') {
//
}
return {
GOOGLE_AUTH_CLIENT_ID:
'423533244953-banligobgbof8hg89i6cr1l7u0p7c2pk.apps.googleusercontent.com',
JWT_TOKEN_SECRET: 'afajdslfwk1@lkkasdfl21ASDF!2',
MONGO_CONNECTION_STRING:
'mongodb+srv://default:[email protected]/default?retryWrites=true&w=majority',
};
};
export const environmentVariables: EnvironmentConfig = getEnvironmentVariables();