This repository is no longer maintained. Check Ship.
Koa.JS REST api starter
Fully featured Koa.JS restful api starter application.
The goal of this project is to solve all routine tasks and keep your focus on the product and business logic of the application, not on the common things, such logging, configuration, dev/production environments
In order to start server in the docker container you can use bash file ./bin/start.sh:
$ ./bin/start.sh
To start the project not in the docker container just run: npm run dev. This command will start the application on port 3001 and will automatically restart whenever you change any file in ./src directory.
Explanations of the files structure
We try to keep things as simple as possible, so you can focus on building product instead of learning concepts.
All other files, that does not fit that structure should be placed straight in the src folder. We can always introduce more folders as we need them. Currently root folder consist following:
请发表评论