- Koa2 with Mongo / Restful apis / Test
- Basic middleware: Error handler / Authorization
- Just write your controllors
# download boilerplate and unzip it to your project name
wget -O Holmes.zip https://github.com/waynecz/Holmes/archive/master.zip && unzip Holmes.zip && mv Holmes-master {your project name}
# delete .zip file and enter your project
rm Holmes.zip && cd {your-project-name}
# create new one upon link your repo
git init && git remote add origin {your repo address}
# install dependices
yarn || npm i
-
Replace things in package.json with your own
-
Start writting your server and:
# develop npm run dev # run for production component npm run prod # test npm run test