2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00
books/server.js
2018-02-08 15:09:10 +05:30

9 lines
230 B
JavaScript

const server = require('frappejs/server');
const path = require('path');
server.start({
backend: 'sqlite',
connection_params: {dbPath: 'test.db'},
static: './',
models_path: path.resolve(__dirname, './models')
});