1.0.15 • Published 1 year ago

@lofik/server v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

lofik (sync) server

You can use the public lofik server at lofik.jouzina.com (it can't read your data) or run your own.

Currently, there are 2 ways of running lofik server.

Docker (recommended)

docker run -d --name lofik-server -p 8080:8080 -e ORIGIN=http://localhost:5000 -v /path-to-local-folder-to-store-your-db:/home/node/app/prisma/db pycan/lofik-server:latest

Using the volume is important to persist the database with update messages.

NPM package

npm i @lofik/server

import {startLofikServer} from "@lofik/server";

startLofikServer();

!IMPORTANT When running the server, you must specify the DATABASE_URL env variable. Use absolute path. Example: DATABASE_URL=file:/Users/user/Documents/lofik/main.db

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago