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

Low-code vs No-code: Who's the Winner?

Ditch the code and join the low-code/no-code revolution! Get the power of rapid app development, process automation, and innovation without breaking a sweat (or your budget). Get ready to drag, drop, and amaze with the easy way to build custom apps.

October 9, 2024
by
Nikita Navalikhin

Introducing Directual Certification and Hire an Expert

Hire devs to build stuff! Offer your own stuff-building services! All of this, right in Directual’s interface. Jump in to learn more.

September 21, 2024
by
Pavel Ershov

WhatsApp Chatbots for Business: No-Nonsense Guide for 2024

WhatsApp is the ultimate customer engagement battlefield. Explore real-world success stories, learn the ropes of building your own chatbot, and stay ahead with insights into future trends.

September 5, 2024
by
Eugene Doronin

Top 20 AI Chatbot Tools to Supercharge Your No-Coding Journey

AI chatbot showdown! Get the scoop on who's hot, who's not, and how to spin up your own AI sidekick to ultimate no-code productivity.

August 28, 2024
by
Eugene Doronin

OpenID and OAuth: The Gateway to Secure Online Experience

OpenID Connect is a strong authentication protocol that simplifies and, more importantly, secures user authentication across multiple platforms. Integrating OpenID Connect with Directual allows any company, regardless of size, to improve access to internal applications, boost security, and even improve user experience.

August 14, 2024
by
Eugene Doronin

All you should know about Telegram Mini Apps in 2024

The real money is within Telegram Mini Apps—proper apps capable of anything, right within Telegam Messenger interface. See why they’re worth your time.

August 6, 2024
by
Pavel Ershov

Ready to build your dream app?

Join 22,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.