{"id":25724044,"url":"https://github.com/fernandesotero/fcc-periodic-table-db","last_synced_at":"2026-04-13T00:39:09.236Z","repository":{"id":279121243,"uuid":"937779400","full_name":"fernandesotero/fcc-periodic-table-db","owner":"fernandesotero","description":"Solution for Perioc Table Data Base challange at @freecodecamp","archived":false,"fork":false,"pushed_at":"2025-02-24T14:54:45.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T15:45:53.609Z","etag":null,"topics":["bash-script","dbms","git","postgresql"],"latest_commit_sha":null,"homepage":"https://www.freecodecamp.org/learn/relational-database/build-a-periodic-table-database-project/build-a-periodic-table-database","language":"Shell","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/fernandesotero.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":"2025-02-23T21:40:23.000Z","updated_at":"2025-02-24T15:17:12.000Z","dependencies_parsed_at":"2025-02-24T15:45:59.336Z","dependency_job_id":"218196da-b5a3-4adc-8708-ac51beac6295","html_url":"https://github.com/fernandesotero/fcc-periodic-table-db","commit_stats":null,"previous_names":["fernandesotero/periodic-table","fernandesotero/fcc-periodic-table-db"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandesotero%2Ffcc-periodic-table-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandesotero%2Ffcc-periodic-table-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandesotero%2Ffcc-periodic-table-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandesotero%2Ffcc-periodic-table-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fernandesotero","download_url":"https://codeload.github.com/fernandesotero/fcc-periodic-table-db/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240747195,"owners_count":19851044,"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":["bash-script","dbms","git","postgresql"],"created_at":"2025-02-25T21:18:56.145Z","updated_at":"2025-11-19T00:03:22.936Z","avatar_url":"https://github.com/fernandesotero.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Periodic Table Data Base\r\nA Database that has information about some chemical elements.\r\n\r\n# Tests Cases from FreeCodeCamp\r\n- You should rename the weight column to atomic_mass\r\n\r\n- You should rename the melting_point column to melting_point_celsius and the boiling_point column to boiling_point_celsius\r\n\r\n- Your melting_point_celsius and boiling_point_celsius columns should not accept null values\r\n\r\n- You should add the UNIQUE constraint to the symbol and name columns from the elements table\r\n\r\n- Your symbol and name columns should have the NOT NULL constraint\r\n\r\n- You should set the atomic_number column from the properties table as a foreign key that references the column of the same name in the elements table\r\n\r\n- You should create a types table that will store the three types of elements\r\n\r\n- Your types table should have a type_id column that is an integer and the primary key\r\n\r\n- Your types table should have a type column that's a VARCHAR and cannot be null. It will store the different types from the type column in the properties table\r\n\r\n- You should add three rows to your types table whose values are the three different types from the properties table\r\n\r\n- Your properties table should have a type_id foreign key column that references the type_id column from the types table. It should be an INT with the NOT NULL constraint\r\n\r\n- Each row in your properties table should have a type_id value that links to the correct type from the types table\r\n\r\n- You should capitalize the first letter of all the symbol values in the elements table. Be careful to only capitalize the letter and not change any others\r\n\r\n- You should remove all the trailing zeros after the decimals from each row of the atomic_mass column. You may need to adjust a data type to DECIMAL for this. The final values they should be are in the atomic_mass.txt file\r\n\r\n- You should add the element with atomic number 9 to your database. Its name is Fluorine, symbol is F, mass is 18.998, melting point is -220, boiling point is -188.1, and it's a nonmetal\r\n\r\n- You should add the element with atomic number 10 to your database. Its name is Neon, symbol is Ne, mass is 20.18, melting point is -248.6, boiling point is -246.1, and it's a nonmetal\r\n\r\n- You should create a periodic_table folder in the project folder and turn it into a git repository with git init\r\n\r\n- Your repository should have a main branch with all your commits\r\n\r\n- Your periodic_table repo should have at least five commits\r\n\r\n- You should create an element.sh file in your repo folder for the program I want you to make\r\n\r\n- Your script (.sh) file should have executable permissions\r\n\r\n- If you run ./element.sh, it should output only Please provide an element as an argument. and finish running.\r\n\r\n- If you run ./element.sh 1, ./element.sh H, or ./element.sh Hydrogen, it should output only The element with atomic number 1 is Hydrogen (H). It's a nonmetal, with a mass of 1.008 amu. Hydrogen has a melting point of -259.1 celsius and a boiling point of -252.9 celsius.\r\n\r\n- If you run ./element.sh script with another element as input, you should get the same output but with information associated with the given element.\r\n\r\n- If the argument input to your element.sh script doesn't exist as an atomic_number, symbol, or name in the database, the only output should be I could not find that element in the database.\r\n\r\n- The message for the first commit in your repo should be Initial commit\r\n\r\n- The rest of the commit messages should start with fix:, feat:, refactor:, chore:, or test:\r\n\r\n- You should delete the non existent element, whose atomic_number is 1000, from the two tables\r\n\r\n- Your properties table should not have a type column\r\n\r\n- You should finish your project while on the main branch. Your working tree should be clean and you should not have any uncommitted changes\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandesotero%2Ffcc-periodic-table-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffernandesotero%2Ffcc-periodic-table-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandesotero%2Ffcc-periodic-table-db/lists"}