corolla-0.1.4 is not a library.
Corolla
Corolla is a a lightweight SQLite web server. You can use it as bare-bones web framework.
Example Application
This Git repostiory includes an example Corolla spec, which is a JSON file that defines a Corolla server's available queries.
To run the example Corolla spec:
-
Install Rust.
-
Clone this Git repository and navigate into it:
- Start the Corolla server:
Now you can make write queries to the database:
... And read queries!
Usage
Usage: corolla [OPTIONS]
Options:
-d, --db <DB> Filepath to the SQLite database [default: corolla.sqlite3]
-p, --port <PORT> Choose a port to listen on [default: 50000]
-r, --route <ROUTE> Base URL for API endpoints [default: ]
-s, --spec <SPEC> Filepath to the spec.json file [default: spec.json]
-t, --test Test mode?
-h, --help Print help
-V, --version Print version
For more information