<blocks /> ConstructᵇᵉᵗᵃSELISE <blocks/> Construct is a fully functional application blueprint designed to accelerate development with SELISE <blocks />. Pre-integrated with SELISE <blocks /> microservices, it offers a seamless full-stack foundation, complete with essential features, prebuilt modules, and practical use cases. Whether starting fresh or enhancing an existing project, SELISE Blocks Construct provides a scalable framework that streamlines workflows, ensures best practices, and maximizes SELISE `' capabilities.
<blocks /> Construct → construct.seliseblocks.com<blocks /> Cloud → cloud.seliseblocks.com<blocks /> CLI (NPM) → @seliseblocks/cli<blocks /> CLI (NuGet) → SeliseBlocks.CLIGet your local machine ready to set up a full-stack project integrated with SELISE <blocks /> services. Follow these short steps to complete the setup easily and start building right away.
1. Access SELISE Blocks Cloud
<blocks /> Cloud.2. Create a New Project
Make sure you have a registered domain and access to its DNS settings.
Set up a new project in the Cloud Console.
3. Install SELISE Blocks CLI
Make sure you have the following tools installed:
Install the CLI globally to easily scaffold your projects.
npm install -g @seliseblocks/cli
If you encounter permission issues on Linux/macOS:
sudo npm install -g @seliseblocks/cli
Check if the CLI was installed successfully.
blocks
To check the installed version:
blocks v
4. Create a New Project Locally
Use the CLI to set up your project structure and download the codebase.
blocks new <platform> <folder-name>
<platform> with either web, mobile, or flutter.<folder-name> with your preferred local folder name.For example, to create a web project in a folder named 'my-project', your command line should look like this blocks new web 'my-project'
After setup, the CLI will ask for:
Or,
blocks new web <project name> [--blocks-key] [--app-domain]
Examples:
blocks new web myproject --blocks-key abc123 --app-domain example.com
blocks new web myproject -k abc123 -d example.com
5. Start SELISE Blocks Construct
Move into your project's folder.
cd <folder-name>
Replace <folder-name> with your project's folder name.
To start the application, run this command:
npm start
To simulate production locally:
Update your machine’s hosts file
Add a static entry to your hosts file to point your domain to localhost.
See instructions.
(Optional) Set up Captcha
Skip this if your app doesn’t require CAPTCHA.
i) To enable Google reCAPTCHA:
1. Visit the [Google reCAPTCHA Admin Console](https://www.google.com/recaptcha/admin/create).
- Choose **reCAPTCHA v2** and the **"I'm not a robot"** checkbox option.
- Add your domain (e.g., `example.com` or `localhost`).
2. Copy your **Site Key** from the *Frontend Configuration* section.
3. Copy your **Secret Key** from the *Backend Configuration* section.
ii) To enable hCAPTCHA:
1. Visit the [hCAPTCHA Dashboard](https://dashboard.hcaptcha.com/login).
2. Copy your **Secret Key** from the "Secret Key" section.
3. Add your domain (e.g., `example.com`) to the **Site Key** section.
> ✅ Example: If your domain is `dev-construct.seliseblocks.com`, make sure to add that exact domain seliseblocks.com hCaptcha
Then:
.env file and add:env
REACT_APP_CAPTCHA_SITE_KEY=YourSiteKey
REACT_APP_CAPTCHA_TYPE=YourCaptchaType // reCaptcha or hCaptcha
Replace YourSiteKey with the Site Key you received from Google reCAPTCHA's or hCAPTCHA's frontend configuration.
To run the app locally:
npm run start:host
You should now see the login page.
6. Create a user and Log In
You’ll need at least one user account to access the application.
Open your browser:
- Go to your application’s domain or use localhost if running locally.
- Enter your credentials to log in.
You are now ready to build and extend your application with SELISE Blocks Construct.
$ claude mcp add blocks-construct-react \
-- python -m otcore.mcp_server <graph>