A basic starter template for koa API
the project is configured with cors and bodyparser middlewares
There are two different folders in the project:-
- middlewares: - used to add any custom middlewares to the app
- services: use to mount different koa apps on to the main or umbrella app
use the following command:
npm start
Access the API at http://localhost/api/hello