Skip to content

WebSpace examples

You understand WebSpace much faster by building one thing yourself than by reading about the concepts. The examples cover the process of downloading and deploying a schema file, connecting it to a web screen, and completing a service that real users use.


Example 1. Build your own business system

When you only describe the requirements to AI, everything from the database design to the actual screens is built. Build your own business system uses an inventory management system as an example and shows exactly what is built when you enter the prompts.

Parts status screen of the inventory management system. The table is filled with actually registered part codes, stock quantities, and safety stock

Example 2. Real-time Gomoku game

Build a real-time Gomoku game runs the completed files first and then checks, one by one, how the following features work in the game.

  • WebSocket connection of two users and joining a room
  • Turns, moves, and time limits judged by the server
  • Saving match records and calculating win, loss, and draw scores
  • Recent records and rankings loaded through the REST API
  • A collaboration feature for talking while viewing the same document

SetFN WebSpace real-time Gomoku match screen

You can see right away how a room code is created, a friend's stone is placed on your screen, and the win and the ranking are recorded. It starts with Gomoku, but the same structure can be changed into a quiz, shared growing, a turn-based game, or an on-site progress board.

Example 3. Folder file resource board

Build a resource board from folder files loads the Markdown documents and images in the books/guide folder as a JSON list and displays the content of the selected file.

Example 4. Shared monster raid

Build a shared monster raid uses the shared-resource processor to apply the attacks of multiple members to the health of one monster. The server processes the health, the action history, and the personal rewards together and sends the confirmed result over WebSocket.

Example 5. AI support chat

Deploy an AI support chat sample deploys the chat.html support sample by using the model and the Agent pipeline that are already registered by the administrator.

Before you begin

  • You need permission to deploy schemas and APIs.
  • A test of an actual match requires two different member accounts.
  • At first, SQLite3 is recommended because it does not require a separate DB server.

If you read Create a schema file (.sfn) first, you can change the structure of the examples more easily.