2
0
mirror of https://github.com/frappe/books.git synced 2024-12-24 20:00:29 +00:00
books/server/index.js
2022-01-21 02:27:29 +05:30

20 lines
322 B
JavaScript

import server from 'frappe/server';
import models from '../models';
import postStart from './postStart';
async function start() {
await server.start({
backend: 'sqlite',
connectionParams: { dbPath: 'test.db', enableCORS: true },
models,
});
await postStart();
}
start();
export default {
start,
};