A Flowcore SDK for facilitating application development using Next.js
Install with npm:
npm install @flowcore/sdk-nextjs-backend
or yarn:
yarn add @flowcore/sdk-nextjs-backend
This package exports several modules that facilitate application development using Next.js:
-
Contracts: These are TypeScript interfaces and types that are used throughout the package.
-
Flowcore: This includes several utility classes and functions such as
EventTransformer
for transforming events,Filehook
for file hook operations,RedisQueue
for Redis queue operations,WaitForPredicate
for waiting for a certain condition to be met, andWebhook
for webhook operations. -
Utils: This includes utility functions such as
throwSafeError
.
To use this package in your project, first install it as shown above. Then, you can import the required modules in your code:
import { SomeModule } from '@flowcore/sdk-nextjs-backend';
Please note that SomeModule
is a placeholder for the actual exported modules from the package. You would replace SomeModule
with the actual module you want to import.
yarn install
or with npm:
npm install