PCDS Tutors — Home • Online • Academic • Professional LearningServing 10+ launch cities • Expanding across India
Practical learning guideIntermediate

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.

Practical lesson

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.

raiql
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

The compiler should recognize a web application with a Lesson entity and requested CRUD/API/test generation. This teaching sample has not been executed against the compiler in this build environment.

Walk through the example

  1. The application and stack statements establish the target.
  2. Lesson defines the fields, primary key and uniqueness requirement.
  3. 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.

1. What should a reference to an undeclared entity cause?
2. What must follow generation?

Complete learning roadmap

These are suggested course modules, not a claim that every module has a full tutorial on this site.

  1. 01Application intent and stack
  2. 02Entities and field constraints
  3. 03CRUD and API requirements
  4. 04Authentication and record ownership
  5. 05Generated tests and contract review
  6. 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.

RAIQL 1.0 getting started and playground →

RAIQL tutorials · RAIQL playground · Language specification

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.

RAIQL Tutorial, Practical Project & Course Syllabus | PCDS Learning