Skip to main content

Full-Stack React Datta Able

Premium React Dashboard designed by CodedThemes, coded as a full-stack product by AppSeed

Full-stack version of Datta Able PRO, a premium design crafted by CodedThemes now usable with multiple API Backend Servers: Node JS, Flask, Django. The UI comes with pre-configured JWT authentication powered by a Unified API Interface that makes this product compatible with more than one backend: Node JS, Flask, Django.

Full-Stack React Datta Able - Dark Mode, crafted by AppSeed and CodedThemes.


Product Dependencies

To successfully compile and use the product, please make sure your workstation has the right tools installed and accessible in the terminal window:

  • Node JS 12.x version (or above) - used to build both parts (frontend & backend)
  • GIT versioning command-line tool - used to clone the sources from Github
  • A code editor: VsCode or Atom
  • Ability to work in the terminal window

Product Features

The product aims to help developers skip over the basics and start faster a new full-stack product already enhanced with authentication, a pixel-perfect UI powered by production-ready backends. The fact that makes this full-stack product unique is the JSON-API compliance over multiple servers:

  • Node JS API: Typescript, Flexible persistence (SQLite, Mongo), TypeORM, Validation
  • Django API: JWT Authentication over DRF, SQLite, Docker
  • Flask API: powered by Flask-JWT-extended, SQL-Alchemy, Docker

By default, the UI redirects the guest users to the login page. Once the user is authenticated, all private pages are unlocked.

Implemented JWT Authentication Flow: Login, Logout, Register.

Full-Stack React Datta Able - SinIN Page, crafted by AppSeed and CodedThemes


How to use the product

Full-stack React Material Dashboard is built using a two-tier architecture where the UI is decoupled from the backend API server and communicates using requests secured by JWT tokens. The recommended way to start using this full-stack product is to follow a simple setup:

  • Step #1 - Build and start the backend server
  • Step #2 - Build and start the React UI
  • Create a new user via the registration page
  • Authenticate and access the private pages
  • Add your magic on top of the existing codebase.

Start the Backend API

As mentioned before, the UI is configured to work with many backend servers that share a common API interface: Django, Node JS, Flask. Based on your license (free or commercial) the access is granted to the request API Server. On this page, we will compile and start the free version of Node JS API (open-source product).

👉 Step #1 Clone the sources

$ git clone https://github.com/app-generator/api-server-nodejs.git
$ cd api-server-nodejs

👉 Step #2 - Install dependencies via NPM or Yarn

$ npm i
// OR
$ yarn

👉 Step #3 - Run the SQLite migration

$ yarn typeorm migration:run

👉 Step #4 - Start the API server

$ npm dev
// OR
$ yarn dev

The API interface used by the API is a simple JWT authentication layer that exposes the following methods:

  • USERS API:
    • /api/users/register: create a new user
    • /api/users/login: authenticate an existing user
    • /api/users/logout: delete the associated JWT token
    • /api/users/checkSession: check an existing JWT Token for validity
    • /api/users/edit - edit the information associated with a registered user

At this point, the backend API should be & and running on address: http://localhost:5000 and we can move on with the setup and build the React UI.


Start the React UI

The React Datta Able being a commercial product, a license is required before getting access to the source code. In case you don't have a license, please access the product page and purchase one.

👉 Step #1 - Unzip Sources

$ unzip react-datta-able-pro.zip
$ cd react-datta-able-pro

👉 Step #2 - Install dependencies via NPM or yarn

$ npm i
// OR
$ yarn

👉 Step #3 - Start in development mode

$ npm run start
// OR
$ yarn start

Backend Integration

The backend API server address is saved in src/config.js.

const config = {
...
API_SERVER: 'http://localhost:5000/api/' // <-- The magic line
};

React Datta Able - UI

Datta Able React is the most stylized React Admin Template, around all other admin templates in the market. It comes with high feature-rich pages and components with fully developer-centric code.

Full-Stack React Datta Able - Charts Page, crafted by AppSeed and CodedThemes.


Resources