0.2.2 • Published 3 years ago
@moveup/api-core v0.2.2
MoveUP API Core
Installation
npm i @moveup/api-core
Usage
In your API's package.json
, change the entrypoint:
"main": "node_modules/@moveup/api-core/index.js",
That's it! Now you only need to create a /routes
directory with subdirectories for each route. Every subdirectory needs to contain a controller.js
and a routes.js
file.