This is a plugin made for octernship program under amplication by Shurtu-gal
The plugin's purpose is to add additional functionality to amplification Data Service Generator.This plugin adds count functionality to the generated service's REST API similar to the one in GraphQL API.
Clone the repository and run npm install
to install the dependencies.
Running npm run build
will bundle your plugin with Webpack for production.
Running npm run dev
will watch your plugin's source code and automatically bundle it with every change.
Running npm run test
will run the tests for your plugin.
Running npm run format:write
will format your plugin's source code.
And running npm run format:check
will check if your plugin's source code is formatted.
You can use this plugin as input to data service generator by using the following command and get count functionality in your generated service's REST API.