Introduction to Serverless Code
Kinvey provides a couple of ways to write server-side code for your mobile, web, or chatbot apps: Business Logic and Flex. Both enable you to focus on the functional business logic of an application while Kinvey handles the work of receiving, parsing, and routing requests, connecting to and querying data stores.
Kinvey Flex is a more feature-rich and flexible way to write server-side code for your apps. Flex has three flavors: data integration services, authentication services, and general-purpose functions. With Flex, you create Node.js projects and deploy them either on a Kinvey runtime in the cloud or on infrastructure of your choice. This approach has the benefit of having access to unlimited NPM libraries, including bridges to proprietary solutions like Oracle in case you choose to run it outside of the Kinvey runtime. Other benefits include compatibility with Continuous Integration (CI), popular IDEs, selection of a Node.js version, including the latest version, and support for local testing. Flex services utilize the Flex SDK to connect it with the rest of the Kinvey feature set. Read more