This repository contains a Django and React-based web application.
The Django React App is a web application built with Django with Django Rest Framework as the backend and React (using Vite) as the frontend library.
- Integration of Django with React
- User authentication (JWT)
- RESTful API with Django REST Framework
- Responsive design using React components
To get started with the project, follow these steps:
-
Install backend dependencies:
cd backend pip install -r requirements.txt cd ..
-
Install frontend dependencies:
cd frontend npm install cd ..
-
Apply database migrations:
python manage.py migrate
-
Run the development server:
python manage.py runserver
-
In another terminal, run frontend server
npm run dev
After setting up the project, you can access the application by opening your browser and navigating to http://localhost:5173/, and you can start exploring the application.
The Django backend will serve the React frontend on http://localhost:8000.