doba-template

1.1.7 • Public • Published

Installation

Init your project

npm init -y

If you use yarn

yarn init -y

Or you can install it for global

npm install -g doba-template

Install dependencies

If you use npm

npm install --save-dev doba-template

If you use yarn

yarn add -D doba-template

Usage

Run this command

npx doba-template

GraphQL template

.env.example
.gitignore
.prettierrc
package.json        
src
   |-- Configs      
   |   |-- Logger.ts
   |-- Constants    
   |   |-- index.ts 
   |-- Entities
   |   |-- User.ts
   |-- Middlewares
   |-- Models
   |-- Resolvers
   |   |-- Auth.ts
   |   |-- Hello.ts
   |-- Types
   |   |-- Context.ts
   |   |-- FieldError.ts
   |   |-- InputType
   |   |   |-- RegisterInput.ts
   |   |-- Mutation
   |   |   |-- MutationResponse.ts
   |   |   |-- UserMutationResponse.ts
   |-- Utils
   |   |-- Validation.ts
   |-- index.ts
tsconfig.json
yarn.lock

ExpressJS template

.env.example
.gitignore
.prettierrc
package.json
src
   |-- Configs
   |   |-- Logger.ts
   |   |-- mongoose.ts
   |-- Constants
   |-- Controllers
   |-- Middlewares
   |-- Models
   |-- Routes
   |   |-- index.routes.ts
   |-- Services
   |-- Utils
   |-- index.ts
tsconfig.json
yarn.lock

Readme

Keywords

none

Package Sidebar

Install

npm i doba-template

Weekly Downloads

1

Version

1.1.7

License

MIT

Unpacked Size

17.8 kB

Total Files

5

Last publish

Collaborators

  • dobadov3