{"_id":"@alpha_anas/to_do_app","_rev":"2-ca8c8c303f35e4df44ebbf4f6ed342e6","name":"@alpha_anas/to_do_app","description":"A TODO app which consists of user validation, item addition/ deletion, and saving user's data features.","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@alpha_anas/to_do_app","version":"1.0.0","author":"","license":"ISC","_id":"@alpha_anas/to_do_app@1.0.0","maintainers":[{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"}],"bin":{"to_do_app":"index.js"},"dist":{"shasum":"b11010c086e7ee03d37f3b6ece92d3b1b9a2616c","tarball":"https://registry.npmjs.org/@alpha_anas/to_do_app/-/to_do_app-1.0.0.tgz","fileCount":7,"integrity":"sha512-QrskBBGhks6OjOxTUfvKsNjRzbypv/eIjhvHzqZxZUx2SqDNJtzgObQ7gU1M914xAaF9p3NYGdvP2bj7bAwULw==","signatures":[{"sig":"MEYCIQCvjj4SplbWQqMVpxCD98CMrqdyaW801ImqxXdLACE0sgIhALrFtz0ynsOACnkwCnOQOVKhPtZ3F45eh7fCrBECooQU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29323},"main":"index.js","type":"module","gitHead":"17c3785f78e1afd12527db0b53fc9ac59dbbf0b3","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"_npmVersion":"10.2.4","description":"A TODO app which consists of user validation, item addition/ deletion, and saving user's data features.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/to_do_app_1.0.0_1718625838323_0.6839876655139949","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@alpha_anas/to_do_app","version":"1.0.1","author":"","license":"ISC","_id":"@alpha_anas/to_do_app@1.0.1","maintainers":[{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"}],"bin":{"to_do_app":"index.js"},"dist":{"shasum":"37cf75af9edae1b85b2c269dbbf7a3e3da29d716","tarball":"https://registry.npmjs.org/@alpha_anas/to_do_app/-/to_do_app-1.0.1.tgz","fileCount":7,"integrity":"sha512-w3GttWNDO6FnCdXVj9r3iotRnRf1P5+PELKta38FisQpF8+ukzuwVJ0eD8J3kBg6Yi2WIIn1DtrtCnHMuNefAw==","signatures":[{"sig":"MEYCIQCgyalzKGQT9Zz/5gqrzhzNqrB9+YpUyWnlTE6HzM+oMgIhAIg3lJc/5ZK3CzOpuLGN54sn7rN1MaT7bJqY+WuVEP8x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29322},"main":"index.js","type":"module","gitHead":"ca4798405e73d0f2a87ce0458b5d5b8ed1c9ffd9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"_npmVersion":"10.2.4","description":"A TODO app which consists of user validation, item addition/ deletion, and saving user's data features.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/to_do_app_1.0.1_1718626227336_0.7244073674804317","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@alpha_anas/to_do_app","version":"1.0.2","description":"A TODO app which consists of user validation, item addition/ deletion, and saving user's data features.","main":"index.js","type":"module","publishConfig":{"access":"public"},"bin":{"to_do_app":"index.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","dependencies":{"inquirer":"^9.2.23"},"devDependencies":{"@types/inquirer":"^9.0.7"},"_id":"@alpha_anas/to_do_app@1.0.2","gitHead":"ca4798405e73d0f2a87ce0458b5d5b8ed1c9ffd9","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-qovq1nKMVvQNV1lQmQWjhlFVAohgpbhr2b8Eis3QEDVYq4+b9NsL/etHgacayScSiBtrbbzpDq3QxZHU4sdiZA==","shasum":"21d734810098191b04ab1799a84461a563a06d20","tarball":"https://registry.npmjs.org/@alpha_anas/to_do_app/-/to_do_app-1.0.2.tgz","fileCount":7,"unpackedSize":29301,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICrq9MRIVlITUOKjYJOWhmTobakBHrkqVGMXYy1PFu1SAiEA6ToVJASR9VD1ikqLrqL5YwFNRWT68pEZvAnXfE03+dg="}]},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"directories":{},"maintainers":[{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/to_do_app_1.0.2_1718626274202_0.05416444988812641"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-17T12:03:58.234Z","modified":"2024-06-17T12:11:14.660Z","1.0.0":"2024-06-17T12:03:58.473Z","1.0.1":"2024-06-17T12:10:27.490Z","1.0.2":"2024-06-17T12:11:14.487Z"},"maintainers":[{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"}],"license":"ISC","readme":"# TO DO APP in Typescript\r\n\r\n# ATM System\r\n\r\n## Application Walkthrough\r\n\r\nA TODO app which consists of user validation, item addition/ deletion, and saving user's data features.\r\n\r\n### Features\r\n\r\n1. **Saving users's data**: if the user uses the app first time the todo app saves their data in persons.json file.\r\n2. **Add items**: After adding name and unique password users can add their todo items.\r\n3. **Delete items**: Users also have option to delete the item if they change their mind.\r\n4. **Exit**: Finally after adding the items if they write *stop* the app will log them out and display their items added.\r\n\r\nFor testing purposes (let's say) there are two users\r\n\r\n#### user1 :\r\n\r\n      *name : anas\r\n      *items: [\"apple\", \"mango\", \"banana\"]*\r\n      *pin :  qwe123*\r\n      ,\r\n\r\n#### user2 :\r\n\r\n      *name : abdullah*\r\n      *items: []*\r\n      *pin :  abc123*\r\n\r\n## Run the Application on CLI:\r\n\r\n```\r\nnpm i @alpha_anas/to_do_app \r\nnpx @alpha_anas/to_do_app\r\n\r\n(and the game will start running on your Command Prompt / Terminal)\r\n\r\n### Compiling and Running on IDE\r\n\r\nwhen all the [dependencies](#Prerequisites) (as mentioned below) are successfully installed you can build and run the project using the\r\nbelow mentioned command :\r\n`tsc && node index.js`\r\n\r\n### Prerequisites\r\n\r\nBefore running the application, ensure you have the following installed:\r\n\r\n- [Node.js](https://nodejs.org/)\r\n- [npm](https://www.npmjs.com/)\r\n\r\n### Installation\r\n\r\n1. **Clone the repository**:\r\n\r\n   ```\r\n   git clone https://github.com/AlphaAnas/Typescript-Projects-PIAIC-course.git\r\n   cd \"04_TO_DO_APP\"\r\n   ```\r\n\r\n2. **Install the dependencies**:\r\n\r\n   ```\r\n   npm install (to install node modules folder)\r\n   npm install inquirer\r\n   npm i --save-dev @types/inquirer\r\n   tsc --init   (to install tsconfig.json)\r\n   npm init -y (to install package.json) (keep pressing enter to make a general tsconfig.json file)\r\n### Important changes to make (note I have already made this following changes for you, so you do not have to make the same, however remember to make the same in your own version)\r\n\r\n   ```\r\n   In tsconfig.json file on line No.:14 change the *target* to *ESNext* i.e. `\"target\": \"ESNext\"` \r\n   also tsconfig.json file on line No.:28 change the *module* to *NodeNext* i.e. `\"module\": \"NodeNext\"`\r\n   also tsconfig.json file on line No.:28 change the *moduleResolution* to *NodeNext* i.e. `\"moduleResolution\": \"NodeNext\"`\r\n\r\n   Then in package.json file on line No.:10 after ( \"main\": \"index.js\",) enter the following two lines\r\n   ```\r\n    \"bin\": \"index.js\",\r\n    \"type\": \"module\",\r\n   ```\r\n\r\n### Example Interaction\r\n\r\n1. **Menu Display**:\r\n\r\n   ```\r\n   Welcome to the TODO APP\r\n   1. Enter your name\r\n   2. Enter a password\r\n   3. (system validates if its a new user or an old one)\r\n   4. system allocates an array if its a new user else bring back the previous items that exist\r\n   ```\r\n\r\n\r\n## Development\r\n\r\n### Run/ Edit the Application on IDE:\r\n\r\n        Clone or download the zip of the folder from : `https://github.com/AlphaAnas/12-Typescript-Projects-of-PIAIC-course/tree/main/04_TO_DO_App`\r\n        `Then run the following commands to install the DEPENDENCIES (if already not installed, however i have already installed and pushed the following for you in the repository): `\r\n\r\n        ```\r\n                tsc --init\r\n                npm init -y\r\n                npm install inquirer\r\n                npm i --save-dev @types/inquirer\r\n\r\n        ```\r\n\r\n","readmeFilename":"README.md"}