Initial commit

This commit is contained in:
forceoranj
2021-10-16 01:53:56 +02:00
commit ebdd8dccdd
104 changed files with 29770 additions and 0 deletions

16
src/config/default.ts Executable file
View File

@@ -0,0 +1,16 @@
export default {
HOST: "localhost",
PORT: 3000,
API_URL: "",
APP: {
htmlAttributes: { lang: "en" },
title: "REACT COOL STARTER",
titleTemplate: "REACT COOL STARTER - %s",
meta: [
{
name: "description",
content: "The best react universal starter boilerplate in the world.",
},
],
},
}

4
src/config/index.ts Executable file
View File

@@ -0,0 +1,4 @@
import defaultConfig from "./default"
import prodConfig from "./prod"
export default __DEV__ ? defaultConfig : { ...defaultConfig, ...prodConfig }

3
src/config/prod.ts Executable file
View File

@@ -0,0 +1,3 @@
export default {
PORT: 8080,
}