@histovery/backend-framework v1.0.27
Backend Framework
Allow for creating a backend with a shared stack between the different internal web projects.
1. Package install
Deploy Token: TODO The deploy token should have only the scope read-repository.*
2. Usage
Options
See interface BackendOptions for the list of options available.
Adding controllers
Create an instance of CRUDController and pass it in parameter. Your CRUDController must have a FrameworkModel passed in parameter.
CUSTOM OPTION Alternatively, you can extends the Controller class and instantiate it, and pass it to backend options.
Generate Wrapper for API
TODO: Programatic generation and publish?
Basic example server implementation
You can find a basic implementation of the package in the examples/ directory
publish
- Manually bump the package.json version
- npm run release
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago