Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import Kernel from './kernel';
import * as ServiceBuilder from './service';
(async () => {
const kernel = new Kernel(ServiceBuilder);
await kernel.boot();
await kernel.container.get('db').save('product', {}, {id: 1, name: 'ssssscar'});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment