{"id":19510366,"url":"https://github.com/surajmendhe5573/todo-auth","last_synced_at":"2026-04-10T07:04:08.840Z","repository":{"id":245049901,"uuid":"817090503","full_name":"surajmendhe5573/Todo-Auth","owner":"surajmendhe5573","description":"Todo back-end application with authentication.","archived":false,"fork":false,"pushed_at":"2024-06-19T04:28:52.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T11:47:21.055Z","etag":null,"topics":["backend","expressjs","jsonwebtoken","mongodb","nodejs","postman","rest-api"],"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/surajmendhe5573.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-06-19T02:16:49.000Z","updated_at":"2024-06-19T04:46:09.000Z","dependencies_parsed_at":"2024-06-19T10:56:09.515Z","dependency_job_id":"63e182b6-c2c3-4f66-b0d1-e549a19f940b","html_url":"https://github.com/surajmendhe5573/Todo-Auth","commit_stats":null,"previous_names":["surajmendhe5573/todo-auth"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surajmendhe5573%2FTodo-Auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surajmendhe5573%2FTodo-Auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surajmendhe5573%2FTodo-Auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surajmendhe5573%2FTodo-Auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/surajmendhe5573","download_url":"https://codeload.github.com/surajmendhe5573/Todo-Auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240761144,"owners_count":19853256,"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":["backend","expressjs","jsonwebtoken","mongodb","nodejs","postman","rest-api"],"created_at":"2024-11-10T23:15:40.943Z","updated_at":"2026-04-10T07:04:08.812Z","avatar_url":"https://github.com/surajmendhe5573.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Todo App Back-end\n\nThis project is a Todo back-end application built with Node.js,Express, with MongoDB as the database. The application will support user authentication, allowing users to sign up, log in, and perform CRUD (Create, Read, Update, Delete) operations on their Todo lists. Additionally, users will be able to search, tag, and paginate their Todo lists. We will use JWT (JSON Web Token) for authentication.\n\n## Features\n\n1. When the user enters the platform, the user needs to sign-up/sign-in to create the todo list.\n2. An authentication token is created with the help of user credentials.\n3. The user can create, update, delete, and see the list of todos created.\n4. The user can see a particular todo that they have created.\n5. The user can search the todo list based on a search string.\n6. All of the APIs have pagination support.\n7. Users can tag the todo to pin or make it their favorite.\n8. The user information and todo list are stored in MongoDB.\n\n## API Endpoints\n\n### User\n- `POST /api/users/register` - Register a new user- [Postman Link](https://grey-star-391432.postman.co/workspace/New-Team-Workspace~4486508b-a8a4-424d-bc7e-8e1606b9ebd8/request/31827619-c809c348-720f-48ff-8667-72dacbbf2877)\n- `POST /api/users/login` - Login a user- [Postman Link](https://grey-star-391432.postman.co/workspace/New-Team-Workspace~4486508b-a8a4-424d-bc7e-8e1606b9ebd8/request/31827619-bd6cb400-268c-4d6a-b486-1ccb8f763799)\n\n### Todo\n- `POST /api/todos/create` - Create a new todo- [Postman Link](https://grey-star-391432.postman.co/workspace/New-Team-Workspace~4486508b-a8a4-424d-bc7e-8e1606b9ebd8/request/31827619-1603b860-233e-4a6a-831d-3b07bbee039c)\n- `GET /api/todos/fetch` - List of todos- [Postman Link](https://grey-star-391432.postman.co/workspace/New-Team-Workspace~4486508b-a8a4-424d-bc7e-8e1606b9ebd8/request/31827619-07f2fb7b-c686-4241-9d40-1a6d8dd94368)\n- `GET /api/todos` - Get all todos (with pagination and search) [Postman Link](https://grey-star-391432.postman.co/workspace/New-Team-Workspace~4486508b-a8a4-424d-bc7e-8e1606b9ebd8/request/31827619-bdcff038-a568-4ff0-b35d-815afc5082dc)\n- `GET /api/todos/:id` - Get a specific todo by ID- [Postman Link](https://grey-star-391432.postman.co/workspace/New-Team-Workspace~4486508b-a8a4-424d-bc7e-8e1606b9ebd8/request/31827619-ac17fdfd-b185-488a-b71f-112e0a0b0091)\n- `PUT /api/todos/:id` - Update a todo- [Postman Link](https://grey-star-391432.postman.co/workspace/New-Team-Workspace~4486508b-a8a4-424d-bc7e-8e1606b9ebd8/request/31827619-3dc6c46e-fd07-4002-88ff-dbad5a276971?tab=body)\n- `DELETE /api/todos/:id` - Delete a todo - [Postman Link](https://grey-star-391432.postman.co/workspace/New-Team-Workspace~4486508b-a8a4-424d-bc7e-8e1606b9ebd8/request/31827619-96d4871a-9187-4a81-9c85-14986542fd33)\n\n\n## Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/your-username/todo-app.git\n    cd todo-app\n    ```\n\n2. Install dependencies:\n    ```sh\n    npm install\n    ```\n\n3. Create a `.env` file in the root directory and add the following:\n    ```sh\n    PORT=3000\n    MONGO_URI=mongodb://localhost:27017/todo-app\n    JWT_SECRET=your_jwt_secret\n    ```\n\n## Technologies Used\n- **Node.js**: Backend runtime environment.\n- **Express.js**: Web application framework for Node.js.\n- **MongoDB**: NoSQL database for data storage.\n- **JSON Web Tokens (JWT)**: Secure authentication mechanism.\n- **Postman**: API Development, Testing.\n\n\n\n## 🚀 About Me\nI'm a Backend developer...\n\n\n## 🔗 Links\n[![portfolio](https://img.shields.io/badge/my_portfolio-000?style=for-the-badge\u0026logo=ko-fi\u0026logoColor=white)](https://github.com/surajmendhe5573)\n[![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/in/suraj-mendhe-569879233/?original_referer=https%3A%2F%2Fsearch%2Eyahoo%2Ecom%2F\u0026originalSubdomain=in)\n[![twitter](https://img.shields.io/badge/twitter-1DA1F2?style=for-the-badge\u0026logo=twitter\u0026logoColor=white)](https://twitter.com/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurajmendhe5573%2Ftodo-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurajmendhe5573%2Ftodo-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurajmendhe5573%2Ftodo-auth/lists"}