A Task Manager App built with React.js (frontend) and Django (backend). This app allows users to manage tasks with functionalities like adding, editing, deleting, and filtering tasks based on their completion status. Axios is used for seamless communication between the frontend and backend.
- View tasks (filter by completed and incomplete).
- Add new tasks.
- Edit existing tasks.
- Delete tasks.
- Frontend: React.js
- Reactstrap for UI components.
- Axios for HTTP requests.
- Backend: Django REST Framework
- RESTful API to handle task operations.
- Database: SQLite (default Django database).
Follow these steps to set up and run the project locally:
- Clone the repository:
git clone https://github.com/Parvezkhan0/myToDo.git cd myToDo
- Navigate to the backend directory and set up the virtual environment:
cd backend python -m venv venv source venv/bin/activate # For Linux/Mac venv\Scripts\activate # For Windows
- Install dependencies:
pip install -r requirements.txt
- Run migrations and start the backend server:
The backend will run on http://localhost:8000.
python manage.py migrate python manage.py runserver
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Start the development server:
The frontend will run on http://localhost:3000.
npm start
The frontend communicates with the backend using Axios. Ensure both servers are running to enable seamless data exchange.