1.0.7 • Published 5 years ago

create-koa-application v1.0.7

Weekly downloads
27
License
MIT
Repository
github
Last release
5 years ago

Create Koa Application

npm version license

A structured boilerplate to create your Node app with Koa.js.

Welcome to Koa.js

Create Koa Application is a cli tool to bootstrap a Koa.js application with a good environment preset and an alternative folder structure.

Table of contents

Requirements

Installation

npm

To install globally the tool:

npm install -g create-koa-application

npx

Alternatively, you can use it with npx to create a new project:

npx create-koa-application <project-name>

Usage

Create a new application running on your terminal:

create-koa-application <project-name>

After your project is correctly initialized

Project structure

<project-name>
├── node_modules
├── index.js
├── server.js
├── package.json
├── package-lock.json
├── README.md
├── .env.example
├── .eslintrc.js
├── .eslintignore
├── .gitignore
├── .huskyrc
├── .prettierrc
├── .prettierignore
├── .prettierignore
├── api
│   ├── users
│   │   ├── index.js
│   │   ├── user.routes.js
│   │   └── user.controller.js
│   ├── otherApiFolder
│   ├── ...
│   └── index.js
├── config
│   ├── components
│   │   ├── database.config.js
│   │   └── server.config.js
│   └── index.js
└── middleware
    └── error.middleware.js
└── utils
    └── generateId.util.js

Contributors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.0

5 years ago