{"_id":"@alpha_anas/07_student_management_system","_rev":"6-b91a67a0f3e6db29a6b915739c8522e6","name":"@alpha_anas/07_student_management_system","description":"This project is a simple console-based Student Management System written in TypeScript. It includes features such as adding new students, generating unique student IDs, enrolling students in courses, viewing student records, paying tuition fees, and displ","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.0":{"name":"@alpha_anas/07_student_management_system","version":"1.0.0","author":"","license":"ISC","_id":"@alpha_anas/07_student_management_system@1.0.0","bin":{"07_student_management_system":"index.js"},"dist":{"shasum":"2ad9f251f1416409f1b10753b8f3b8ff527020ae","tarball":"https://registry.npmjs.org/@alpha_anas/07_student_management_system/-/07_student_management_system-1.0.0.tgz","fileCount":6,"integrity":"sha512-eog0fAdnpHofnP9jzMgNSEpG7S6tQA6oKKaD/gDRQuBOgcmG0aw4YtdasHFC1kSKHXAA40HBbqbeeN5M7Wyt0Q==","signatures":[{"sig":"MEQCIAUE49nQmNnEnyU401EiitoSW1QYhYYC+cm/8CEVXZU3AiB0jRqZMdIk2+ak8ZE0TmKLKfvtKQN1pVcayTnyKHOC/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47849},"main":"index.js","type":"module","gitHead":"aee2dddaec4d294182cc17c1f753e15f39079fbc","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"tsc && node index.js"},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"_npmVersion":"10.2.4","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.8","@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/07_student_management_system_1.0.0_1719302496090_0.42120995621348634","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@alpha_anas/07_student_management_system","version":"1.0.1","author":"","license":"ISC","_id":"@alpha_anas/07_student_management_system@1.0.1","bin":{"07_student_management_system":"index.js"},"dist":{"shasum":"6877641361a13c84269a33cac95b684c5dbce49e","tarball":"https://registry.npmjs.org/@alpha_anas/07_student_management_system/-/07_student_management_system-1.0.1.tgz","fileCount":7,"integrity":"sha512-sztTukWPgrv/9R/KxJxzEq566o83nyU4Pb0JWaFhYkdSiaJ9Dh3BDAAB3hN/8tqGU0074OepHEB0W3uMV/hxGA==","signatures":[{"sig":"MEYCIQC4imkJ4OTpbQzXEmytJHDSPHiMCTNMq7dH6s9YrIEPyAIhANfihs6t2DFl0H3DdE6Z40zrFPeQIOrOpyN4StawEaj4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52433},"main":"index.js","type":"module","gitHead":"aee2dddaec4d294182cc17c1f753e15f39079fbc","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"tsc && node index.js"},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"_npmVersion":"10.2.4","description":"This project is a simple console-based Student Management System written in TypeScript. It includes features such as adding new students, generating unique student IDs, enrolling students in courses, viewing student records, paying tuition fees, and displ","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.8","@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/07_student_management_system_1.0.1_1719303010096_0.18849513130088003","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@alpha_anas/07_student_management_system","version":"1.0.2","author":"","license":"ISC","_id":"@alpha_anas/07_student_management_system@1.0.2","bin":{"07_student_management_system":"index.js"},"dist":{"shasum":"8676ef1844c1fdfc3e3568970f6b0897135a5d11","tarball":"https://registry.npmjs.org/@alpha_anas/07_student_management_system/-/07_student_management_system-1.0.2.tgz","fileCount":7,"integrity":"sha512-3vsTMGEVdw8FlxtNxkBm3DoslscUSXjHG9R98rOZ9dlKBvWRibu6Q3P3L1v5p65w6sYNLZnKAyvzfX5ZoP6GVg==","signatures":[{"sig":"MEYCIQCiUwgFPAjEbHqpYEuour6oIKXYQMSZmdhSXDtCaE0rFAIhAIYduPGHpHxRUr9j+GzNGbtG/EsgeAwrt8cLhgB9Vplp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53128},"main":"index.js","type":"module","gitHead":"3ea39da2bdb2d3c4d6ab0bd290079ed329dcf757","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"tsc && node index.js"},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"_npmVersion":"10.2.4","description":"This project is a simple console-based Student Management System written in TypeScript. It includes features such as adding new students, generating unique student IDs, enrolling students in courses, viewing student records, paying tuition fees, and displ","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.8","@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/07_student_management_system_1.0.2_1719304313258_0.906054411781483","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@alpha_anas/07_student_management_system","version":"1.1.0","author":"","license":"ISC","_id":"@alpha_anas/07_student_management_system@1.1.0","bin":{"07_student_management_system":"index.js"},"dist":{"shasum":"7e9e9f22c59372a186053e8b9886caa664013e9b","tarball":"https://registry.npmjs.org/@alpha_anas/07_student_management_system/-/07_student_management_system-1.1.0.tgz","fileCount":6,"integrity":"sha512-hguhwhI6zhCqnX4eerSrFLyDSmoo6exTWt2eo/FJqs9zOCR+2szE7JPM36NXrx3DhAwHF/amgNgY2lh0RmxhQw==","signatures":[{"sig":"MEYCIQDUhBrCrox7z6M11dY7SV40fOSPzsv3Mgr70BYwEDQp8gIhAMIrZK41h3Lyuh/RVk1y8p8y1nXVlajwsOBeWNnbwSiT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50929},"main":"index.js","type":"module","gitHead":"3ea39da2bdb2d3c4d6ab0bd290079ed329dcf757","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"tsc && node index.js"},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"_npmVersion":"10.2.4","description":"This project is a simple console-based Student Management System written in TypeScript. It includes features such as adding new students, generating unique student IDs, enrolling students in courses, viewing student records, paying tuition fees, and displ","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.8","@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/07_student_management_system_1.1.0_1719313518467_0.14340404721862932","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@alpha_anas/07_student_management_system","version":"1.2.0","author":"","license":"ISC","_id":"@alpha_anas/07_student_management_system@1.2.0","bin":{"07_student_management_system":"index.js"},"dist":{"shasum":"c67562943ea866213a88f051f25acfe7e8307170","tarball":"https://registry.npmjs.org/@alpha_anas/07_student_management_system/-/07_student_management_system-1.2.0.tgz","fileCount":6,"integrity":"sha512-8f65o8e7EXj6fZMDF+uyVi6vQBCGR65yhTjLbLtqjWwyKOYfUSWl8/IAZaN5vBfgybPNfCdlsIORsp51UXeuCg==","signatures":[{"sig":"MEYCIQCGb0pH7FORcuEzrbkNLBnO6DE2U4XYRozZ1mdNGUbcZAIhAIvtlF1ZVgS8cYdw+o8Y3S6P4zsbU63YTBcHuEPCQjLA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58389},"main":"index.js","type":"module","gitHead":"3b2d65a8ec4b69377f9b350fae2d75946d8b8dfc","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"tsc && node index.js"},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"_npmVersion":"10.2.4","description":"This project is a simple console-based Student Management System written in TypeScript. It includes features such as adding new students, generating unique student IDs, enrolling students in courses, viewing student records, paying tuition fees, and displ","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23","@alpha_anas/07_student_management_system":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.8","@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/07_student_management_system_1.2.0_1719472634917_0.8142208556524122","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@alpha_anas/07_student_management_system","version":"1.2.1","author":"","license":"ISC","_id":"@alpha_anas/07_student_management_system@1.2.1","bin":{"07_student_management_system":"index.js"},"dist":{"shasum":"7312af6f0d3a9462512e3cbec4c63426fd378761","tarball":"https://registry.npmjs.org/@alpha_anas/07_student_management_system/-/07_student_management_system-1.2.1.tgz","fileCount":6,"integrity":"sha512-u7R8+ChXq8xKaSSZGTHgA4LlUhsi3OFSCPWvZE8sCqFW6XLAZM4o63Ir36Yim9tDdKo5iOoTN1lejFKHnVfIOQ==","signatures":[{"sig":"MEUCIFkIPluMaCgkm5z7xfG6G8dplRoTaMG+H71pXFQsPScuAiEA0BtbhEUA18Uyqj3AclbBT3FjmN8jE5IvnwihsEXVwi4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57728},"main":"index.js","type":"module","gitHead":"7210653a397a42649653069e7a626d7309c6da97","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"tsc && node index.js"},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"_npmVersion":"10.2.4","description":"This project is a simple console-based Student Management System written in TypeScript. It includes features such as adding new students, generating unique student IDs, enrolling students in courses, viewing student records, paying tuition fees, and displ","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23","@alpha_anas/07_student_management_system":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.8","@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/07_student_management_system_1.2.1_1719472831444_0.2776669386416215","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@alpha_anas/07_student_management_system","version":"1.2.2","description":"This project is a simple console-based Student Management System written in TypeScript. It includes features such as adding new students, generating unique student IDs, enrolling students in courses, viewing student records, paying tuition fees, and displ","main":"index.js","type":"module","bin":{"07_student_management_system":"index.js"},"publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"tsc && node index.js"},"author":"","license":"ISC","dependencies":{"@alpha_anas/07_student_management_system":"^1.1.0","inquirer":"^9.2.23"},"devDependencies":{"@types/inquirer":"^9.0.7","@types/node":"^20.14.8"},"_id":"@alpha_anas/07_student_management_system@1.2.2","gitHead":"823e3cc5e8aa534a1e9106ba429134f2785a5dfa","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-LOhBn3IY1pNYWCvcyKObxYuOnCe+osWYxHZuIOHKJ/sUn+QyDxAZvlErf6+cRMTu8m2jeXlCGUMKep5wpsaGZw==","shasum":"8394d78bfc33865f7508f81128aaa8dbf8747d21","tarball":"https://registry.npmjs.org/@alpha_anas/07_student_management_system/-/07_student_management_system-1.2.2.tgz","fileCount":6,"unpackedSize":60019,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDeNKHPHld17tngLurpwceMXnWhHcq5tgj5nMeP/ZpNnAiEAjz3GsJvYOiETj53HqdHnjH2acuig6XEevC1bACJejBY="}]},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/07_student_management_system_1.2.2_1719473178154_0.5749641592639689"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-25T08:01:35.980Z","modified":"2024-06-27T07:26:18.478Z","1.0.0":"2024-06-25T08:01:36.274Z","1.0.1":"2024-06-25T08:10:10.282Z","1.0.2":"2024-06-25T08:31:53.428Z","1.1.0":"2024-06-25T11:05:18.678Z","1.2.0":"2024-06-27T07:17:15.091Z","1.2.1":"2024-06-27T07:20:31.693Z","1.2.2":"2024-06-27T07:26:18.307Z"},"maintainers":[{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"}],"license":"ISC","readme":"# Student Management System in Typescript\r\n\r\n\r\nThis project is a simple console-based Student Management System written in TypeScript. It includes features such as adding new students, generating unique student IDs, enrolling students in courses, viewing student records, paying tuition fees, and displaying student details. The project utilizes `chalk` for colored terminal output and `inquirer` for interactive command-line prompts.\r\n\r\n## Features\r\n\r\n1. **User Data Saving**: Save and load student data to/from a JSON file.\r\n2. **Add Student**: Add new students with unique IDs, default balance and other details.\r\n3. **Enroll in Courses**: Enroll students in available courses.\r\n4. **View Balance**: Check the tuition balance of a student.\r\n5. **Pay Tuition Fees**: Pay the tuition fees for a student.\r\n6. **Show Student Status**: Display the details of a student, including name, ID, courses enrolled, and balance.\r\n7. **View All Students**: View the details of all students.\r\n8. **Interactive CLI**: Uses `inquirer` for interactive prompts and `chalk` for colored output.\r\n\r\n\r\n## Usage\r\n\r\n### Adding a Student\r\n\r\n1. Run the application:\r\n    ```bash\r\n    'tsc && node index.js'\r\n    ```\r\n2. Follow the prompts to add a new student by providing the necessary details such as name, enrollment year, major, etc.\r\nNote: A student enrolled has default balance of 1000 in his/her cart\r\n\r\n### Paying Tuition Fees\r\n\r\n1. Choose the option to pay tuition fees.\r\n2. Follow the prompts to select the student and enter the payment amount.\r\n\r\n### Viewing Student Records\r\n\r\n1. Choose the option to view student records.\r\n2. Follow the prompts to select the student whose records you want to view.\r\n\r\n### Viewing All Students\r\n\r\n1. Choose the option to view all students.\r\n2. The details of all students will be displayed.\r\n\r\n## Example Interaction\r\n\r\n```text\r\nWelcome to the Student Management System!\r\n\r\n? What would you like to do? (Use arrow keys)\r\n❯ Add a new student\r\n  Pay tuition fees\r\n  View student records\r\n  View all students\r\n  Exit\r\n\r\n? Enter student's name: John Doe\r\n? Enter student's ID in format (00000): 10001\r\n? Enter student's enrollment year in format (2024): 2024\r\n? Enter Major: Computer Science\r\n\r\nStudent added successfully!\r\n```\r\n\r\n## Run the Application on CLI:\r\n\r\n\r\nnpm i @alpha_anas/07_student_management_system\r\nnpx @alpha_anas/07_student_management_system\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- [TypeScript](https://www.typescriptlang.org/)\r\n\r\n## Installation\r\n\r\n1. **Clone the repository**:\r\n\r\n   \r\n   git clone \"https://github.com/AlphaAnas/12-Typescript-Projects-of-PIAIC-course\"\r\n   cd \"07_Student_Management_System\"\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\r\n\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## 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/07_Student_Management_System`\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"}