RAIQL: Tutorial, Projects & Course Syllabus
Learn to express application requirements as structured, testable specifications using the RAIQL 1.0 language.
Who this is for
Developers, engineering students and software architects with basic application development knowledge.
Before you start
Basic data modelling, CRUD APIs and software testing. Read the official 1.0 language guide first.
Model a small application with RAIQL 1.0
RAIQL (Requirements AI Query Language) expresses application intent in structured declarations.
The compiler validates requirements and produces intermediate representation and generated artifacts. Generated code still needs inspection and security testing.
Set up your practice environment
Open the official RAIQL documentation and playground. Enter this original minimal application example, inspect the result, then follow the documented local build instructions. No live deployment is required.
CREATE APPLICATION "Study Catalogue";
TYPE WEB;
USE STACK FRONTEND NEXTJS, BACKEND NEXTJS, DATABASE POSTGRESQL;
CREATE ENTITY Lesson (
id UUID PRIMARY,
title STRING REQUIRED,
code STRING REQUIRED UNIQUE
);
CREATE CRUD Lesson;
CREATE API Lesson;
GENERATE TESTS;
BUILD;Expected result
Walk through the example
- The application and stack statements establish the target.
- Lesson defines the fields, primary key and uniqueness requirement.
- CRUD and API declarations refer to the declared entity. Before handling real data, explicitly specify authorization and inspect the generated access rules.
Common mistake
Successful generation is not proof of production security. Do not invent language syntax or promise certification solely for completing this guide.
Try it yourself
Add a required string field named subject, then change CREATE API Lesson to reference an undeclared entity. Compare compiler diagnostics.
Reveal suggested solution
Add subject STRING REQUIRED with the appropriate comma in the entity field list. An undeclared API target should fail validation; restore Lesson before continuing.
Portfolio project brief
Design a private study-planning application using the official RAIQL 1.0 authentication, record ownership and test-generation guides.
Acceptance criteria
- Validate the specification before generating code.
- Review generated access controls and run negative authorization tests.
- Record compiler version and test results; never expose secrets in the specification.
This is a project specification, not a completed downloadable project. Build and test it independently or with a mentor.
Quick self-test
Choose one answer per question, then check your score. No sign-in required.
Complete learning roadmap
These are suggested course modules, not a claim that every module has a full tutorial on this site.
- 01Application intent and stack
- 02Entities and field constraints
- 03CRUD and API requirements
- 04Authentication and record ownership
- 05Generated tests and contract review
- 06Deployment readiness and version compatibility
Learning outcomes
- Describe an application with explicit requirements
- Review compiler output and generated contracts
- Plan tests and security checks before deployment
Continue with official documentation
Original PCDS learning material. Check the official documentation for your installed software version; these guides are not vendor-endorsed courses.
Need help learning RAIQL?
Choose a city and describe your learning goal in the enquiry form. Mention RAIQL, your current level and whether you prefer home or online learning. Tutor availability and pricing are subject to confirmation.
For RAIQL-specific resources, use the official links above. You can also describe your mentoring needs in the city form notes.
