Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/charlie0077/express-minimal-starter

express-minimal-starter
https://github.com/charlie0077/express-minimal-starter

async await babel boilerplate boilerplate-template es6 es7 express expressjs promise rest-api starter-kit template

Last synced: about 1 month ago
JSON representation

express-minimal-starter

Awesome Lists containing this project

README

        

# Features
1. Minimal dependencies
2. Clean and consise example for API and error handling
3. Use ES7, async, await and appropriate router middleware

# Get Started
1. Go to the demo site or run 'yarn install && yarn dev' in your terminal
2. refresh the webpage(localhost:4000/api/item) multiple times and watch the possible results:
(1) sync result
(2) async result from fake database
(3) async error from fake database
(4) error thrown from your bussiness logic
3. read the code.