Next generation backend experience for developers
January is API development framework to build, integrate, test, and deploy all in one place.
Talk with us to discuss your thoughts, feedback, comments, or any other topics.
import { saveEntity } from '@extensions/postgresql';
import { tables } from '@workspace/entities';
workflow('CreateUserWorkflow', {
tag: 'users',
trigger: trigger.http({
method: 'post',
path: '/',
}),
execute: async ({ trigger }) => {
await saveEntity(tables.users, {
name: trigger.body.name,
email: trigger.body.email,
});
});