2.0.6 • Published 2 years ago

@xfxstudios/create-template-app v2.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@xfxstudios/create-template-app

🏗 Quickly launch applications in various languages with this set of NodeJS, ReactJS, PHP templates, with pre-designed basic configurations.

Installation & Usage

Installation:

npm i -g @xfxstudios/create-template-app

npx create-template-app --install

and follow wizard.

Flags:

install all node dependencies from template

--install or -i

--git or -g

Available Templates

- NodeJS With TypeScript, Express and HBS Templates

- NodeJS With TypeScript, Express, GraphQL, MongoDB, oAuth Login and HBS Templates

- ReactJS basic template

License

MIT

Templates available to start

  • Full NodeJS/TypeScript/Express/GraphQL App Template
  • Basic NodeJS/TypeScript App Template
  • Basic ReactJS/TypeScript App Template
  • React Native App Template
  • Laravel/PHP App Template
  • Codeigniter/PHP App Template

Templates Estructures:

Full NodeJS/Express/TypeScript/MongoDB/GraphQL Template:

📦src
 ┣ 📂controller
 ┃ ┣ 📂authController
 ┃ ┃ ┗ 📜AuthController.ts
 ┃ ┗ 📂test
 ┃ ┃ ┗ 📜testController.ts
 ┣ 📂core
 ┃ ┣ 📂config
 ┃ ┃ ┗ 📜appConfig.ts
 ┃ ┣ 📂docs
 ┃ ┃ ┗ 📜swagger.json
 ┃ ┣ 📂graphql
 ┃ ┃ ┣ 📂inputs
 ┃ ┃ ┗ 📂objects
 ┃ ┃ ┃ ┗ 📜GraphUserObject.ts
 ┃ ┣ 📂interfaces
 ┃ ┃ ┗ 📜iTestCountryInterface.ts
 ┃ ┣ 📂models
 ┃ ┃ ┣ 📂mongodb
 ┃ ┃ ┃ ┣ 📜ClientCredentialsModel.ts
 ┃ ┃ ┃ ┣ 📜ClientProviderModel.ts
 ┃ ┃ ┃ ┣ 📜migration.ts
 ┃ ┃ ┃ ┣ 📜OauthTokenModel.ts
 ┃ ┃ ┃ ┣ 📜TestCountryModel.ts
 ┃ ┃ ┃ ┗ 📜UserModel.ts
 ┃ ┃ ┗ 📂mysql
 ┃ ┣ 📂oauth
 ┃ ┃ ┣ 📜oAuthInit.ts
 ┃ ┃ ┗ 📜oAuthModel.ts
 ┃ ┣ 📂services
 ┃ ┃ ┣ 📂cryptoHelper
 ┃ ┃ ┃ ┣ 📜cryptoHelper.ts
 ┃ ┃ ┃ ┗ 📜iCryptoHelper.ts
 ┃ ┃ ┣ 📂dbHelper
 ┃ ┃ ┃ ┣ 📜dbHelper.ts
 ┃ ┃ ┃ ┗ 📜iDbHelper.ts
 ┃ ┃ ┣ 📂hashHelper
 ┃ ┃ ┃ ┣ 📜iValidateHashHelper.ts
 ┃ ┃ ┃ ┗ 📜validateHashHelper.ts
 ┃ ┃ ┣ 📂jwtHelper
 ┃ ┃ ┃ ┣ 📜iJwtHelper.ts
 ┃ ┃ ┃ ┗ 📜jwtHelper.ts
 ┃ ┃ ┣ 📂logHelper
 ┃ ┃ ┃ ┣ 📜iLogHelper.ts
 ┃ ┃ ┃ ┗ 📜logHelper.ts
 ┃ ┃ ┣ 📂mailerHelper
 ┃ ┃ ┃ ┗ 📜mailerHelper.ts
 ┃ ┃ ┣ 📂requestHelper
 ┃ ┃ ┃ ┣ 📜axiosCore.ts
 ┃ ┃ ┃ ┣ 📜iRequestHelper.ts
 ┃ ┃ ┃ ┗ 📜requestHelper.ts
 ┃ ┃ ┣ 📂responseHelper
 ┃ ┃ ┃ ┣ 📜iResponseHelper.ts
 ┃ ┃ ┃ ┗ 📜responseHelper.ts
 ┃ ┃ ┣ 📂templateHelper
 ┃ ┃ ┃ ┗ 📜templateHelper.ts
 ┃ ┃ ┗ 📜index.ts
 ┃ ┣ 📂templates
 ┃ ┃ ┗ 📂email
 ┃ ┃ ┃ ┣ 📂register_files
 ┃ ┃ ┃ ┃ ┣ 📜Image_1.png
 ┃ ┃ ┃ ┃ ┣ 📜Image_2.jpg
 ┃ ┃ ┃ ┃ ┣ 📜Image_3.png
 ┃ ┃ ┃ ┃ ┣ 📜Image_4.png
 ┃ ┃ ┃ ┃ ┣ 📜Image_5.png
 ┃ ┃ ┃ ┃ ┣ 📜Image_6.png
 ┃ ┃ ┃ ┃ ┣ 📜Image_7.png
 ┃ ┃ ┃ ┃ ┣ 📜Image_8.png
 ┃ ┃ ┃ ┃ ┗ 📜Image_9.png
 ┃ ┃ ┃ ┣ 📜general.htm
 ┃ ┃ ┃ ┗ 📜register.htm
 ┃ ┗ 📂views
 ┃ ┃ ┣ 📂partials
 ┃ ┃ ┃ ┣ 📜footer.hbs
 ┃ ┃ ┃ ┗ 📜header.hbs
 ┃ ┃ ┗ 📜index.hbs
 ┣ 📂database
 ┃ ┗ 📜conn.ts
 ┣ 📂dto
 ┃ ┣ 📜requestNewUserDTO.ts
 ┃ ┣ 📜requestTestCountryDTO.ts
 ┃ ┗ 📜responseTestCountryDTO.ts
 ┣ 📂middleware
 ┃ ┗ 📜interceptorResponse.ts
 ┣ 📂persistence
 ┃ ┣ 📂authRepository
 ┃ ┃ ┗ 📜AuthRepository.ts
 ┃ ┗ 📂test
 ┃ ┃ ┣ 📜iTestRepository.ts
 ┃ ┃ ┗ 📜testRepository.ts
 ┣ 📂routes
 ┃ ┗ 📜routes.ts
 ┣ 📂server
 ┣ 📂use_case
 ┃ ┣ 📜getTestCountries.ts
 ┃ ┗ 📜newUser.ts
 ┗ 📜server.ts

Basic NodeJs Template

 ┣📂src
 ┃ ┣ 📂docs
 ┃ ┃ ┗ 📜swagger.json
 ┃ ┣ 📂routes
 ┃ ┃ ┗ 📜routes.ts
 ┃ ┗ 📂views
 ┃ ┃ ┣ 📂partials
 ┃ ┃ ┃ ┣ 📜footer.hbs
 ┃ ┃ ┃ ┗ 📜header.hbs
 ┃ ┃ ┗ 📜index.hbs
 ┣ 📜.gitignore
 ┣ 📜app.ts
 ┣ 📜package-lock.json
 ┣ 📜package.json
 ┣ 📜readme.md
 ┗ 📜tsconfig.json

Basic ReactJs Template

 ┣ 📂public
 ┃ ┣ 📜favicon.ico
 ┃ ┣ 📜index.html
 ┃ ┣ 📜manifest.json
 ┃ ┗ 📜robots.txt
 ┣ 📂src
 ┃ ┣ 📂core
 ┃ ┃ ┣ 📂components
 ┃ ┃ ┃ ┣ 📜HomeComponent.tsx
 ┃ ┃ ┃ ┗ 📜ListItem.tsx
 ┃ ┃ ┗ 📂context
 ┃ ┃ ┃ ┗ 📜AppProvider.tsx
 ┃ ┣ 📜App.tsx
 ┃ ┣ 📜index.tsx
 ┃ ┗ 📜react-app-env.d.ts
 ┣ 📜.gitignore
 ┣ 📜package-lock.json
 ┣ 📜package.json
 ┣ 📜README.md
 ┗ 📜tsconfig.json

Collaborators

2.0.3

2 years ago

2.0.2

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.6

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago