Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gc-victor/query
Query is a Rust server for your remote SQLite databases and a CLI to manage them.
https://github.com/gc-victor/query
cli litefs query rust sqlite sqlite-server
Last synced: 12 days ago
JSON representation
Query is a Rust server for your remote SQLite databases and a CLI to manage them.
- Host: GitHub
- URL: https://github.com/gc-victor/query
- Owner: gc-victor
- License: mit
- Created: 2023-09-26T13:05:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T19:19:42.000Z (14 days ago)
- Last Synced: 2024-10-28T19:23:23.889Z (14 days ago)
- Topics: cli, litefs, query, rust, sqlite, sqlite-server
- Language: Rust
- Homepage: https://qery.io
- Size: 1.96 MB
- Stars: 67
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ![Query](/docs/images/query-logo.svg)
## Introduction
Query is a one-file solution that simplifies web development by providing a range of features designed to simplify the web stack of your projects for running code, managing assets, caching, and handling databases. Its goal is to make website development and deployment more accessible and efficient by eliminating the need for multiple components and services:
1. **Database Server**: You don't need to use a database server like PostgreSQL or MySQL. Instead, you can connect to SQLite databases remotely via APIs, command-line interface (CLI), and Query Functions.
1. **JavaScript Runtime**: There's no need for a JavaScript runtime environment such as NodeJS, Deno, or Bun. Query offers its own runtime for executing JavaScript.
1. **Backend Framework**: You don't need backend frameworks like NextJS, Remix, or Hono because Query provides its own routing system and functions to serve web pages.
1. **Caching System**: There's no need for an external caching system like Redis. Query caches functions directly in SQLite and serves them super fast.
1. **Storage System**: There's no requirement for an external storage system like Amazon S3 for storing assets, as Query stores and serves them from SQLite.
1. **Scaffolding Tool**: You don't need additional tools to generate starter code because Query includes its own scaffolding capabilities.
1. **Back Office Admin Area**: The need to develop an administrative interface is removed because Query includes a generator for this purpose.
## Quick StartTo create a new project, run the following command:
```sh
pnpm dlx @qery/query create
```Or
```sh
npx @qery/query create
```You will have three options:
- **application**: A project with a basic structure to create a web application.
- **counter**: A basic project with a counter function.
- **minimal**: A minimal project with a single server function.Choose the one that best fits your needs and follow the instructions. It will create a new directory with the project structure and install the necessary dependencies.
After creating the project, the command will print the following steps to run the project.
```sh
cd
```AND
```sh
pnpm query dev
```OR
```sh
npx query dev
```That's it. In less than a minute, you will be able to see the project running at .
## Links
- Homepage:
- Docs:
- Discord:## License
Query is licensed under the [MIT License](LICENSE).
## Change Log
See [CHANGELOG.md](CHANGELOG.md).