What's new?
Product
Who uses Directual?
What can be built on Directual
Learn Directual
Why Directual?
Resources
Legal
Company

Directual and React

May 14, 2020

React nowadays is the most popular JS-library for building user interfaces. Directual matches React perfectly, providing flexible and scalable backend. This post is an introduction for the future series concerning building complex apps on a full-stack combination of Directual and React.

Why React is so Popular?

React is an open-source JavaScript library for developing user interfaces. It was delivered by Facebook engineering team and nowadays such companies as PayPal, Uber and Netflix use React.

Let’s have a look at the figure from Stateofjs 2019 research:

Stateofjs.com survey

React has attracted quite an army of fans (~150k stars on GitHub). Most of them are loyal—71.7% of all the web-developers have used React and would use it again. Let’s figure out why:

  • Clean and readable code. Reusable components allow developers to build complex UI, keeping the flexibility.
  • Easy to learn. A JS-dev can became a React-dev in a few hours.
  • Outstanding rendering performance. React introduced Virtual DOM, that minimised re-render processes.
  • React Native. The same codebase for crafting iOS and Android apps.

Perfect Combination

Indeed, React seems to be the right choice to create an app with sophisticated UI keeping the best possible performance. But any app (if it’s more than a landing-page) needs a backend part too!

And here we are! Directual covers all the needs in backend development:

  • Database. Scalable NoSQL cloud-hosted database with clean UI for setting it up.
  • Authentication. Full Role-based Access Control (RBAC) plus built-in Google authentication.
  • API-methods. These are the ‘gates’ between UI and backend;
  • Backend logic. It includes data transforming, calculations and real-time actions.
  • Integrations. An app hardly lives in a vacuum.

One might say that there are some JS-frameworks for setting up a backend as well. Yes, there are. That is why Directual turns out to be much better:

  • Outstanding flexibility and speed of development. Directual is a low-code platform. That means that you apply high-level building blocks in a visual manner. Most of routine work is performed under the hood.
  • No infrastructure headache. Directual is built on AWS-cloud infrastructure and scales automatically.
  • Built-in RBAC and Security. Authenticate your users simply and securely. Visual API-builder allows you to configure new methods in minutes.
  • Powerful scenarios. Directual scenarios include tools for data transforming, integrating, reporting and document generating. You don’t have to code for it!
  • Easy to learn. Directual visual approach is comprehensible even for non-developers. Video tutorials are available in Directual Academy.

Open-source Boilerplate-project for React

We prepared boilerplate-code for ReactJS. You can investigate its code on GitHub (it uses React hooks). Feel free to use this boilerplate in your projects, it is open source.

There are following pieces of functionality which could help you to get up and running quickly:

  • Connecting to Directual API and setting up middle-proxy (explore files auth.js and setupProxy.js)
  • Routing based on RBAC (file App.js and MainMenu component)
  • Authentication (LoginRegister component)
  • Components that get data from Directual (Cards component, for example)
  • Forms that post data to Directual (Form component)

These pieces of functionality are reusable for any React template as well!

FAQ

What is ReactJS?
What is ReactJS?

React, or ReactJS, is a free and open-source frontend JavaScript library for building user interfaces based on components.

What is front-end?
What is front-end?

Typically, frontend is a graphical user interface of a website that allows users to view and interact with the website or with the mobile app.

What is JavaScript?
What is JavaScript?

JavaScript, often abbreviated JS, is a popular programming language, often used for developing web-apps.

Can I use no-code and ReactJS in tandem?
Can I use no-code and ReactJS in tandem?

Yes, you can. Directual and React are a perfect match. React is a great choice for building the frontend, while Directual is perfect for handling the backend.

Featured blog posts

Directual Update: refreshed API-builder

This short article will walk you through our latest API builder update, including new features such as updated API endpoints menu, visual editing for filters, new endpoint testing menu, new functionality, and more. Let's get started.

February 21, 2024
by
Eugene Doronin

Top 5 no-code AI website builders

Want a beautiful website but can’t be bothered with coding? Just want to press a button and see magic happen? Good news—it’s possible. Bad news—not too well. See how this works in our top 5 AI website builder list.

February 18, 2024
by
Pavel Ershov

Top 10 platforms for internal tools

Tired of waiting on developers to deliver that HR admin portal? That crusty CRM addon? Do it yourself—here are the tools that will help.

February 5, 2024
by
Pavel Ershov

Generate logos instantly with Directual—a short guide

No need to fuss over your logos anymore. Discover how Directual can help you generate logos right in the platform—and why it’s worth a shot.

January 31, 2024
by
Pavel Ershov

Directual Update: The Latest and Greatest New Features

New year, new updates! AI logo generator, ES13, Hindi and Portuguese localization, and much more

January 20, 2024
by
Eugene Doronin

The answer to all AI things: 42 AI platforms to check out in 2024

Your Hitchhiker’s Mega Guide to AI Platforms. Dive in, see what goodies you can use in 2024 that are also no-code and AI-powered.

January 3, 2024
by
Pavel Ershov

Ready to build your dream app?

Join 15,000+ no-coders using Directual and create something you can be proud of—both faster and cheaper than ever before. It’s easy to start thanks to the visual development UI, and just as easy to scale with powerful, enterprise-grade databases and backend.