Django React - Datta Able (Free Full-stack Product)

Open-source full-stack product coded in Django and React on top of a modern, colorful design - Datta Able (free version).

A modern dashboard page with a dark left menu and many colorful charts and widgets, all provided by Django React Datta Able.
Django React - Datta Able (free version)

Hello! This article presents an open-source full-stack product built with Django and React on top of a colorful UI: Datta Able (free version). The product uses a decoupled architecture between the React frontend and Django backend where the communication is secured by JWT tokens. Sources are available on Github under the MIT License.

Thanks for reading! - Content provided by App Generator.
A modern dashboard with a left menu and colorful widgets and bar charts, all provided by Datta Able,a full-stack product crafted in Djabgo and React.
Django React - Datta Able (free version).

What is Django

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

Set up PC for Django

Being a Python framework, Django requires Python to run. Django is compatible with Python2, Python3 (the recommended version). To get started working with Python3, you’ll need to have access to the Python interpreter (the console, and related tools and libraries). We can accomplish this in several ways:

  • Download the installer from the official download page.
  • Use a package manager like yum, apt on Linux systems
  • Homebrew for MacOS users.
Django Framework - API Server.

Build the API Server

This simple API starter is built with Python / Django Rest / SQLite3 and JWT Auth. The authentication flow is based on json web tokens. The product comes with a simple, intuitive codebase, DRF integration, SQLite for persistence JWT Authentication API, Docker, and unitary tests.

Step #1 - Clone Sources

$ git clone https://github.com/app-generator/api-server-django.git
$ cd api-server-django 
Django REST Api - Clone Sources

Step #2 - Install modules using a virtual environment

$ virtualenv -p python3 venv
$ source venv/bin/activate
$ 
$ pip install -r requirements.txt 
Django REST Api - Install Dependencies

Step #3 - Start the API Server

$ python manage.py migrate
$ python manage.py runserver 5000 
Django REST Api - Start for Development

At this point, our simple Django API server should be up & running http://localhost:5000.


Build the React UI

The UI expects a running API backend that exposes an interface for login/logout and register actions. By default, the guest users are redirected to the login page. Once the user is authenticated using an existing account or the new one, all private pages are accessible. Here are the steps to compile the product.

Step #1 - Clone the React UI Project

$ git clone https://github.com/app-generator/react-datta-able-dashboard.git
$ cd react-datta-able-dashboard 
Clone Datta Able React

Step #2 - Install dependencies via NPM or yarn

$ npm i
// OR
$ yarn 
Install Dependencies

Step #3 - Start in development mode

$ npm run start 
// OR
$ yarn start 
Start Datta Able React (development)
Django React - Datta Able Login Page.
Django React - Datta Able Login Page. 
Django React - UI elements
Django React - Datta Able (UI Elements).
Django React - Datta Able (UI Elements).

Thanks for reading! For more resources, please access: