Dj-React-ToDo is a full-stack web application built with Django and React. It allows users to manage their to-do lists efficiently with a simple and intuitive interface. The backend is powered by Django, while the frontend is developed using React.
- Create, read, update, and delete (CRUD) tasks
- Mark tasks as complete or incomplete
- Responsive design for mobile and desktop use
- Real-time updates with React
- Backend: Django, Django REST framework
- Frontend: React, Redux
- Database: SQLite (default, can be changed to PostgreSQL, MySQL, etc.)
- Python 3.11.9
- Node.js 14+
- Docker (optional, for containerization)
- Clone the repository:
git clone https://github.com/Mohamed00Abdelmonem/Dj-React-ToDo.git
cd Dj-React-ToDo
- Create a virtual environment and activate it:
python -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`
- Install the backend dependencies:
pip install -r requirements.txt
- Apply migrations:
python manage.py migrate
- Create a superuser:
python manage.py createsuperuser
- Run the backend server:
python manage.py runserver
- Navigate to the
frontend
directory:
cd frontend
- Install the frontend dependencies:
npm install
- Start the frontend development server:
npm start