Query Minimal is a 30-second guide to setting up Query.
Follow these simple steps to run a Query Server and configure the working environment.
Clone this proyect:
git clone https://github.com/gc-victor/query-minimal.git
Remember to change the working directory cd query-minimal
.
Install dependencies:
npm install -g @qery/query @qery/query-server esbuild
Run the server:
query-server
Configure the working environment in a different terminal.
Execute the settings and answer:
query settings
- What is the server URL? [http://localhost:3000]
- What is her email? admin
- What is her password? admin
- Do you want to save the history of your shell? [Enter]
Push the function:
query function
curl 'http://localhost:3000/'
Follow the documentation for a non-test local project.