### Instruction:
Create a full-stack web application using React and Django that displays a list of products fetched from a remote API. Users should be able to add items to a shopping cart, view the total cost, and submit an order. Implement user authentication and store order history in a PostgreSQL database.

### Response:

To create a full-stack web application using React and Django, follow these steps:

1. Set up the development environment

Install Python, Node.js, and PostgreSQL on your system if you haven't already.

2. Create a new Django project

Open a terminal and run the following commands to install Django and start a new project:

```
pip install django
django-admin startproject my_project
cd my_project
```

3. Set up the PostgreSQL database

Edit `my_project/settings.py` to configure the PostgreSQL database:

```python
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': 'my_database',
        'USER': 'my_user',
        'PASSWORD': 'my_password',
        'HOST': 'localhost',
        'PORT': '',
    }
}
```

Run the following command to install the required package for PostgreSQL:

```
pip install psycopg2-binary
```

4. Create a Django app

Run the following command to create a new Django app called "shop":

```
python manage.py startapp shop
```

5. Install Django REST framework

Run the following command to install the Django REST framework:

```
pip install djangorestframework
```

Add `'rest_framework'` to the `INSTALLED_APPS` list in `my_project/settings.py`.

6. Implement user authentication

In `shop/models.py`, create a custom user model that inherits from `AbstractUser`:

```python
from django.contrib.auth.models import AbstractUser

class CustomUser(AbstractUser):
    pass
```

Update `my_project/settings.py` to use the custom user model:

```python
AUTH_USER_MODEL = 'shop.CustomUser'
```

7. Create serializers and views for the API

In `shop/serializers.py`, create serializers for the product and order models:

```python
from rest_framework import serializers
from .models import Product, Order

class ProductSerializer(serializers.ModelSerializer):
    class Meta:
        model = Product
        fields = '__all__'

class OrderSerializer(serializers.ModelSerializer):
    class Meta:
        model = Order
        fields = '__all__'
```

In `shop/views.py`, create views for the API:

```python
from rest_framework import generics
from .models import Product, Order
from .serializers import ProductSerializer, OrderSerializer

class ProductList(generics.ListCreateAPIView):
    queryset = Product.objects.all()
    serializer_class = ProductSerializer

class OrderList(generics.ListCreateAPIView):
    queryset = Order.objects.all()
    serializer_class = OrderSerializer
```

8. Set up URLs for the API

In `shop/urls.py`, set up the URL patterns for the API:

```python
from django.urls import path
from .views import ProductList, OrderList

urlpatterns = [
    path('products/', ProductList.as_view(), name='product-list'),
    path('orders/', OrderList.as_view(), name='order-list'),
]
```

Include the app's URLs in `my_project/urls.py`:

```python
from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path('admin/', admin.site.urls),
    path('api/', include('shop.urls')),
]
```

9. Create a React app

Run the following commands to create a new React app and install required packages:

```
npx create-react-app my_react_app
cd my_react_app
npm install axios react-router-dom @material-ui/core @material-ui/icons
```

10. Implement the frontend

Create components for displaying products, handling user authentication, managing the shopping cart, and submitting orders.

Use Axios to fetch data from the Django API and update the state of your React components accordingly.

11. Deploy the application

Once you have implemented all the required features, deploy your Django and React applications to a web server.

For Django, consider using Gunicorn or uWSGI as an application server and Nginx for serving static files.

For React, use `npm run build` to create a production build of your app and serve it using a web server like Nginx or Apache.

That's it! You now have a full-stack web application using React and Django that displays products fetched from a remote API, allows users to add items to a shopping cart, view the total cost, and submit orders with user authentication and order history stored in a PostgreSQL database.