{"id":19544773,"url":"https://github.com/michellbrito/bloodbank","last_synced_at":"2026-05-01T23:34:21.257Z","repository":{"id":36118386,"uuid":"217788405","full_name":"michellbrito/bloodbank","owner":"michellbrito","description":"A terminal mysql node js application that allows the user to SELECT, DELETE, INSERT, UPDATE, INNER JOIN.","archived":false,"fork":false,"pushed_at":"2023-01-07T22:51:58.000Z","size":7482,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T19:20:44.525Z","etag":null,"topics":["blood-bank","mysql","node-js"],"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/michellbrito.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}},"created_at":"2019-10-27T01:02:47.000Z","updated_at":"2024-06-08T12:23:54.000Z","dependencies_parsed_at":"2023-01-16T23:30:43.385Z","dependency_job_id":null,"html_url":"https://github.com/michellbrito/bloodbank","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michellbrito%2Fbloodbank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michellbrito%2Fbloodbank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michellbrito%2Fbloodbank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michellbrito%2Fbloodbank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michellbrito","download_url":"https://codeload.github.com/michellbrito/bloodbank/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240801039,"owners_count":19859727,"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":["blood-bank","mysql","node-js"],"created_at":"2024-11-11T03:31:37.605Z","updated_at":"2026-05-01T23:34:21.210Z","avatar_url":"https://github.com/michellbrito.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blood Bank Project\n\n\n This blood bank project implements a terminal node js application that allows the user to SELECT, DELETE, INSERT, UPDATE, INNER JOIN. \n \n \n ## ER-Diagram\n \n ![ER-Diagram](https://i.imgur.com/FXhGkYt.png)\n\n## Dependencies Used \n- mysql\n- console.table\n- inquirer\n- dotenv\n\n## Installation\n\nOS X \u0026 Linux:\n\n```sh\n// clone the repo into computer \ngit clone https://github.com/michellbrito/bloodbank.git\n\n// cd into the repo\ncd bloodbank\n\n// create an .env file and password to .env\ntouch .env\nopen .env\nDB_PASS=your_password\n\n// install npm packages stored in the package.json\nnpm i\n\n// start the node application \nnode bloodbank.js\n```\n\n## Usage example\n\n- Run the schema.sql, blood_bank.sql, donor.sql, hospital.sql, patient.sql, blood_bank_donations.sql, blood_type_compability.sql, hospital_donations.sql, patient_blood_usage.sql in your mysql workbench. \n\n- Create an .env file and set your own password\n`DB_PASS: your_password` \n\n- Run the application\n `node bloodbank.js`\n \n- You can now SELECT, INSERT, UPDATE, DELETE, SELECT INNER JOINS, QUIT by clicking the options\n\n![Video](blood_bank_demo.gif)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichellbrito%2Fbloodbank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichellbrito%2Fbloodbank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichellbrito%2Fbloodbank/lists"}