Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/michaelduo/duo-node-server

Basic node server structure
https://github.com/michaelduo/duo-node-server

backend boilerplate javascript koa node nodejs typescript

Last synced: 26 days ago
JSON representation

Basic node server structure

Awesome Lists containing this project

README

        

# duo-node-server

A node server boilerplate

## Tech Stacks
- typescript
- koa

## Getting Started

`npm install`

For development

`npm run dev`

## Files

- controller should only contain high level commands
- controller should NOT handle command call errors, leave it to the error handler, if possible
- service should check the input and output and throw errors if necessary