Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/michaelduo/duo-node-server
- Owner: MichaelDuo
- Created: 2017-07-20T06:23:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-25T06:53:38.000Z (over 7 years ago)
- Last Synced: 2024-11-11T14:26:29.349Z (3 months ago)
- Topics: backend, boilerplate, javascript, koa, node, nodejs, typescript
- Language: TypeScript
- Size: 40 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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