2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00
books/server.js
2018-01-23 13:30:08 +05:30

9 lines
231 B
JavaScript

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