{"id":18355970,"url":"https://github.com/aniketparate/task-manager-reactjs","last_synced_at":"2026-05-09T09:48:55.057Z","repository":{"id":256716117,"uuid":"855727758","full_name":"aniketparate/task-manager-reactjs","owner":"aniketparate","description":"A React-based task management application that lets you add, delete, and toggle tasks between \"Incomplete\" and \"Completed\" statuses. It uses axios for API requests, json-server for a mock backend, and concurrently to run both the server and client simultaneously. Features include error handling and a simple user interface for task management.","archived":false,"fork":false,"pushed_at":"2024-12-05T22:48:19.000Z","size":1109,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-23T21:41:11.650Z","etag":null,"topics":["ax","concurrently","json-server","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/aniketparate.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-09-11T11:18:18.000Z","updated_at":"2024-09-12T07:25:13.000Z","dependencies_parsed_at":"2024-09-12T17:32:27.522Z","dependency_job_id":"48e9f615-511a-4f4d-8115-37a84f5b29be","html_url":"https://github.com/aniketparate/task-manager-reactjs","commit_stats":null,"previous_names":["aniketparate/task-manager-reactjs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketparate%2Ftask-manager-reactjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketparate%2Ftask-manager-reactjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketparate%2Ftask-manager-reactjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketparate%2Ftask-manager-reactjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aniketparate","download_url":"https://codeload.github.com/aniketparate/task-manager-reactjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239032113,"owners_count":19570770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ax","concurrently","json-server","reactjs"],"created_at":"2024-11-05T22:08:31.025Z","updated_at":"2026-05-09T09:48:50.030Z","avatar_url":"https://github.com/aniketparate.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Task Manager\n\nA simple task manager application built with React. This project allows users to add, delete, and toggle the status of tasks.\n\n![image](https://github.com/user-attachments/assets/4be605ab-cc15-47d4-93fa-5818bd79b2b4)\n\n## Features\n\n- Add new tasks\n- Delete existing tasks\n- Toggle task status between \"Incomplete\" and \"Completed\"\n- Fetch tasks from a server\n- Error handling for various operations\n\n## Technologies Used\n\n- **React**: A JavaScript library for building user interfaces\n- **Axios**: A promise-based HTTP client for making API requests\n- **json-server**: A tool to create a fake REST API with a JSON file\n- **concurrently**: A tool to run multiple commands concurrently\n\n## Requirements\n\nTo run this project, you'll need the following dependencies:\n\n- `axios`\n- `json-server`\n- `concurrently`\n\n## Installation\n\n1. **Clone the repository:**\n\n    ```bash\n    git clone https://github.com/your-username/your-repo.git\n    cd your-repo\n    ```\n\n2. **Install dependencies:**\n\n    ```bash\n    npm install\n    ```\n\n3. **Setup the JSON server:**\n\n    Ensure you have a `localStorage.json` file in the root directory with the initial tasks data:\n\n    ```json\n    {\n      \"tasks\": []\n    }\n    ```\n\n4. **Configure scripts in `package.json`:**\n\n    Add the following scripts to your `package.json` file:\n\n    ```json\n    \"scripts\": {\n      \"start\": \"react-scripts start\",\n      \"server\": \"json-server --watch localStorage.json --port 5000\",\n      \"dev\": \"concurrently \\\"npm run server\\\" \\\"npm start\\\"\"\n    }\n    ```\n\n## Usage\n\n1. **Start the project:**\n\n    Run the following command to start both the React app and the JSON server concurrently:\n\n    ```bash\n    npm run dev\n    ```\n\n2. **Access the application:**\n\n    Open your browser and navigate to `http://localhost:3000` to view the React application.\n\n3. **Access the JSON server:**\n\n    The JSON server will be running on `http://localhost:5000/tasks`. You can use this URL to check the tasks data or interact with the API directly.\n\n## File Structure\n\n- `src/App.js` - Main application component\n- `src/components/TaskForm.js` - Component for adding new tasks\n- `src/components/TaskList.js` - Component for listing tasks\n- `src/components/TaskItem.js` - Component for displaying task content\n- `src/services/taskService.js` - Service for interacting with the tasks API\n- `src/App.css` - Application styles\n- `localStorage.json` - JSON file used by json-server to store tasks data\n\n## Contributing\n\nFeel free to open issues or submit pull requests if you have any suggestions or improvements.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniketparate%2Ftask-manager-reactjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faniketparate%2Ftask-manager-reactjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniketparate%2Ftask-manager-reactjs/lists"}