After Scaffolding #
Once @lakeql/create-app finishes, follow these steps to get your API running.
Common Next Steps #
Pull additional schemas #
As you add tables to your lakehouse, pull them into the project:
npm run cli pull --catalog hive --schema new_schemaConfigure permissions #
Set up user-level read/write permissions for production. See Authentication.
Troubleshooting #
| Issue | Solution |
|---|---|
pull fails with connection error | Verify HIVE_HOST and HIVE_PORT in .env. Check Trino is running. |
| Server starts but no queries available | Run pnpm cli pull first. Check that schemaPath points to the correct directory. |
| Auth errors in GraphiQL | Set AUTH_MOCK=true and include the Authorization header matching AUTH_MOCK_TOKEN. |
| Generated types have wrong fields | Re-run pull to sync with current Trino table structure. |