{"id":22141099,"url":"https://github.com/kinchan-code/todolist-api","last_synced_at":"2026-04-12T17:12:12.596Z","repository":{"id":262692380,"uuid":"888051802","full_name":"Kinchan-code/todolist-api","owner":"Kinchan-code","description":"A personal project for managing todos with basic user authentication","archived":false,"fork":false,"pushed_at":"2024-11-18T14:21:06.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T16:29:58.104Z","etag":null,"topics":["express","mongodb","node","typescript"],"latest_commit_sha":null,"homepage":"https://todo-list-api-18qw.onrender.com","language":"TypeScript","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/Kinchan-code.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-13T18:19:30.000Z","updated_at":"2024-11-18T14:19:27.000Z","dependencies_parsed_at":"2024-11-13T19:31:33.825Z","dependency_job_id":"c1e9e2c1-44d9-4a9f-92c8-1709e1f83c78","html_url":"https://github.com/Kinchan-code/todolist-api","commit_stats":null,"previous_names":["kinchan-code/todolist-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kinchan-code%2Ftodolist-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kinchan-code%2Ftodolist-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kinchan-code%2Ftodolist-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kinchan-code%2Ftodolist-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kinchan-code","download_url":"https://codeload.github.com/Kinchan-code/todolist-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245258214,"owners_count":20585977,"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":["express","mongodb","node","typescript"],"created_at":"2024-12-01T21:09:53.261Z","updated_at":"2026-04-12T17:12:12.565Z","avatar_url":"https://github.com/Kinchan-code.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TodoList API\n\nA personal project for managing todos with user authentication.\n\n## Overview\n\nThis project is a simple API built with Node.js, Express, and MongoDB. It includes basic user authentication and CRUD operations for todo items.\n\n## Setup\n\n1. **Install dependencies:**\n\n   Ensure you have Node.js and npm installed on your machine. Then, in the root directory of the project, run:\n\n   ```bash\n   npm install\n   ```\n\n   This will install all the necessary packages listed in `package.json`.\n\n2. **Configure environment variables:**\n\n   Create a `.env` file in the root directory. This file should contain the necessary environment variables for the project. Here is an example of what might be included:\n\n   ```plaintext\n   PORT=3000\n   MONGODB_URI=your_mongodb_connection_string\n   JWT_SECRET=your_jwt_secret_key\n   ```\n\n   Replace the placeholder values with your actual configuration details.\n\n3. **Run the project:**\n\n   - **For development:**\n\n     Use the following command to start the development server with hot-reloading:\n\n     ```bash\n     npm run dev\n     ```\n\n     This will use `nodemon` to automatically restart the server when file changes are detected.\n\n   - **For production:**\n\n     To run the project in a production environment, use:\n\n     ```bash\n     npm start\n     ```\n\n     This will start the server using `node`, without hot-reloading.\n\n4. **Access the API:**\n\n   Once the server is running, you can access the API at `http://localhost:3000` (or the port you specified in the `.env` file).\n\n5. **Testing:**\n\n   If you have tests set up, you can run them using:\n\n   ```bash\n   npm test\n   ```\n\n   Ensure all tests pass before deploying to production.\n\n## API Endpoints\n\n- **Authentication:**\n\n  - `POST /api/auth/signup` - Register a new user\n  - `POST /api/auth/login` - Login a user\n  - `POST /api/auth/logout` - Logout a user\n  - `POST /api/auth/change-password` - Change user password\n  - `GET /api/auth/check-auth` - Check user authentication status\n\n- **Todos:**\n  - `GET /api/todos` - Get all todos\n  - `GET /api/todo/:id` - Get a single todo\n  - `POST /api/add-todo` - Create a new todo\n  - `PUT /api/update-todo/:id` - Update a todo\n  - `DELETE /api/delete-todo/:id` - Delete a todo\n\n## License\n\nThis project is for personal use only. All rights reserved.\n\n## Contact\n\nFor questions or feedback, please contact [chanbangay@gmail.com](mailto:chanbangay@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinchan-code%2Ftodolist-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkinchan-code%2Ftodolist-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinchan-code%2Ftodolist-api/lists"}