https://github.com/acatton/websqlcipher
:lock: Prototype of a fast, distributed SQLCipher database server written in Erlang
https://github.com/acatton/websqlcipher
Last synced: 8 months ago
JSON representation
:lock: Prototype of a fast, distributed SQLCipher database server written in Erlang
- Host: GitHub
- URL: https://github.com/acatton/websqlcipher
- Owner: acatton
- License: mit
- Created: 2016-02-23T21:26:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-29T00:19:09.000Z (over 10 years ago)
- Last Synced: 2025-04-06T04:45:48.026Z (about 1 year ago)
- Language: Erlang
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebSQLCipher
WebSQLCipher aims to scale and distribute SQLCipher very easily.
**Right now, this project is a prototype, totally broken, and using SQLite**
## How to run it
$ rebar get-deps
$ rebar compile
# Run it in development mode (the port 8080 is hardcoded in the code)
$ erl -pa ebin -pa deps/*/ebin -eval "application:ensure_all_started(websqlcipher).
## How to query it
$ curl http://localhost:8080/foocom \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"query": "select * from sqlite_master;", "parameters": []}' \
-v
## TODO
* Refactor `func(Object, Param1, Param2)` to the erlang style `func(Param1, Param2, Object)`
* Annotate types
* Write tests
* Remove duplicated/copy-pasted code