Skip to content
Faisal Nazik edited this page Dec 26, 2022 · 1 revision

Overview

The DRF React & Redux Starter is a boilerplate project that combines Django, a high-level Python web framework, with React, a JavaScript library for building user interfaces, to create a powerful and flexible web application. It includes a range of features such as a responsive user interface built with React, a Django backend with support for multiple database types, integration with third-party services and APIs, and a robust authentication and authorization system. The project is built using Python, Django, React, Webpack, and npm, and uses Django's ORM and React's declarative components to build the user interface and interact with the backend.

Getting Started

To get started with the DRF React & Redux Starter, you will need to have Python 3.x and yarn installed on your machine. Then, clone the repository and install the required dependencies by running the following commands:


git clone https://github.com/your-username/drf-react-redux-starter.git
cd drf-react-redux-starter
pip install -r requirements/local.txt
cd frontend
yarn install

Once the dependencies are installed, you can start the development server by running the following commands in separate terminal windows:


python manage.py runserver
cd frontend
yarn start

This will start the Django development server at http://localhost:8000/ and the React development server at http://localhost:3000/. You can then visit the website in your web browser and start exploring the DRF React & Redux Starter.

Features

Some of the key features of the DRF React & Redux Starter include:

  • A modern and responsive user interface built with React and Material UI
  • A powerful and flexible backend powered by Django
  • Support for multiple database types, including SQLite, PostgreSQL, and MySQL
  • Integration with third-party services and APIs through Django's built-in support for RESTful APIs
  • A robust authentication and authorization system provided by Django's built-in user model and JWT tokens
  • Forms validation with Formik
  • Server error handling
  • Throttling setup
  • Testing with Pytest
  • Extra password hashers such as Argon2PasswordHasher

Technical Details

The DRF React & Redux Starter is built using the following technologies:

  • Python 3.x as the programming language
  • Django as the web framework
  • React as the frontend library
  • Webpack for asset management and bundling
  • yarn for package management

Contributing

The DRF React & Redux Starter is open to contributions. If you have an idea for a new feature or have found a bug, please open an issue on the repository's issue tracker. If you would like to contribute code, please submit a pull request with a clear explanation of the changes you have made.

License

The DRF React & Redux Starter is licensed under the MIT License.

Clone this wiki locally