{"id":19905073,"url":"https://github.com/saeidsaadatigero/task-manager","last_synced_at":"2026-04-11T06:02:50.369Z","repository":{"id":261672636,"uuid":"885002302","full_name":"saeidsaadatigero/Task-Manager","owner":"saeidsaadatigero","description":"A task management application built with Django REST framework and React.","archived":false,"fork":false,"pushed_at":"2024-11-10T02:22:36.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T19:58:53.538Z","etag":null,"topics":["axios","django","django-rest-framework","python","react"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saeidsaadatigero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-07T19:19:26.000Z","updated_at":"2024-11-10T02:22:40.000Z","dependencies_parsed_at":"2024-11-07T20:28:47.451Z","dependency_job_id":"cd41dbf8-2e22-4a4d-b16b-790e9a1928b6","html_url":"https://github.com/saeidsaadatigero/Task-Manager","commit_stats":null,"previous_names":["saeidsaadatigero/task-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saeidsaadatigero/Task-Manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saeidsaadatigero%2FTask-Manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saeidsaadatigero%2FTask-Manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saeidsaadatigero%2FTask-Manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saeidsaadatigero%2FTask-Manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saeidsaadatigero","download_url":"https://codeload.github.com/saeidsaadatigero/Task-Manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saeidsaadatigero%2FTask-Manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31670383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","django","django-rest-framework","python","react"],"created_at":"2024-11-12T20:31:13.343Z","updated_at":"2026-04-11T06:02:50.341Z","avatar_url":"https://github.com/saeidsaadatigero.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 Task Manager\n![Screenshot from 2024-11-07 22-20-51](https://github.com/user-attachments/assets/b9b05677-27a3-4573-a8b9-39031e4b5f42)\n\nA task management application built with Django REST framework and React. Manage your tasks effortlessly with this full-stack web application! 🚀\n\n---\n\n## 🌟 Features\n\n- 🆕 **Add Tasks:** Create new tasks with a title.\n- 📋 **View Tasks:** List all existing tasks in a clean, organized format.\n- ❌ **Delete Tasks:** Remove tasks when they’re done.\n- 💻 **Full-Stack Setup:** Django REST framework as backend, React as frontend.\n\n---\n\n## 🛠️ Technologies Used\n\n- **Backend:** Django, Django REST Framework\n- **Frontend:** React, Axios (for API requests)\n- **Database:** SQLite (default with Django, can switch to PostgreSQL or MySQL)\n- **Utilities:** Django CORS Headers, Axios\n\n---\n\n## ⚙️ Installation\n\nFollow these steps to get the project running on your local machine:\n\n### 📋 Prerequisites\n\nMake sure you have the following installed:\n- Python 3.x 🐍\n- Node.js and npm 🌐\n\n### 🖥️ Backend Setup (Django)\n1. **Clone the Repository:**\n   ```bash\n   git clone https://github.com/saeidsaadatigero/task-manager.git\n   cd task-manager\n   ```\n\n2. **Set up a Virtual Environment:**\n   ```bash\n   python -m venv .venv\n   source .venv/bin/activate  # For Windows use `.venv\\Scripts\\activate`\n   ```\n\n3. **Install Backend Dependencies:**\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. **Run Migrations:**\n   ```bash\n   python manage.py migrate\n   ```\n\n5. **Start the Backend Server:**\n   ```bash\n   python manage.py runserver\n   ```\n   Django server will be running at `http://127.0.0.1:8000/` 🎉\n\n6. **Setup CORS (if needed):**\n   Add `CORS_ALLOWED_ORIGINS` in Django settings to allow requests from the frontend:\n   ```python\n   # settings.py\n   CORS_ALLOWED_ORIGINS = [\n       \"http://localhost:3000\",\n   ]\n   ```\n\n### 🌐 Frontend Setup (React)\n\n1. **Navigate to the `frontend` Directory:**\n   ```bash\n   cd frontend\n   ```\n\n2. **Install Frontend Dependencies:**\n   ```bash\n   npm install\n   ```\n\n3. **Start the React Development Server:**\n   ```bash\n   npm start\n   ```\n\n   React app will be running at `http://localhost:3000/` 🥳\n\n---\n\n## 📂 Project Structure\n\nHere’s a quick overview of the project layout:\n\n```plaintext\ntask-manager/\n├── backend/                     # Django backend\n│   ├── task_manager/            # Django project configuration\n│   └── api/                     # API app containing views, models, and serializers\n│\n└── frontend/                    # React frontend\n    ├── src/\n    │   ├── components/          # React components (TaskList, TaskForm, TaskItem)\n    │   ├── App.js               # Main React App component\n    │   ├── api.js               # Axios API configuration\n    │   └── index.js             # React entry point\n```\n\n---\n\n## 🔧 Usage\n\n1. Go to `http://localhost:3000` to view the task manager app.\n2. 🖊️ Use the input form to add new tasks. Tasks are saved in the backend and loaded on page refresh.\n3. 🗑️ Delete tasks by clicking the “Delete” button next to each item.\n\n---\n\n## 🌍 API Endpoints\n![Screenshot from 2024-11-07 23-01-45](https://github.com/user-attachments/assets/642c6557-190e-41da-b2fb-05bf6b22d325)\n\n\nThese are the main API endpoints exposed by Django:\n\n- `GET /api/tasks/` - Get all tasks\n- `POST /api/tasks/` - Create a new task\n- `DELETE /api/tasks/\u003cid\u003e/` - Delete a specific task\n\n---\n\n## ❓ Troubleshooting\n\n- **CORS Errors:** Add the frontend URL (`http://localhost:3000`) in `CORS_ALLOWED_ORIGINS` in Django settings.\n- **Database Issues:** If SQLite gives trouble, delete the `db.sqlite3` file and re-run migrations (`python manage.py migrate`).\n![Screenshot from 2024-11-07 22-32-45](https://github.com/user-attachments/assets/7ca8f68e-cfd1-40a5-bfd1-8e6834d9a0a0)\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! Feel free to submit issues, create pull requests, or fork the repo and make your own changes. 🎉\n\n---\n\n## 📄 License\n\nThis project is licensed under the MIT License.\n\n---\n\nMade with ❤️ by [Saeid Saadatigero](https://github.com/saeidsaadatigero)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaeidsaadatigero%2Ftask-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaeidsaadatigero%2Ftask-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaeidsaadatigero%2Ftask-manager/lists"}