GithubHelp home page GithubHelp logo

ethanliew / create-koa-application Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tonyghiani/create-koa-application

1.0 0.0 0.0 57 KB

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

License: MIT License

JavaScript 99.44% Shell 0.56%

create-koa-application's Introduction

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:

Installed Globally

create-koa-application <project-name>

npm

npm init koa-application <project-name>

yarn

yarn 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.

create-koa-application's People

Contributors

ekoeryanto avatar tonyghiani avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.