{"id":28214106,"url":"https://github.com/vzool/fullstack-nanodegree-item-catalog","last_synced_at":"2025-07-22T10:06:27.355Z","repository":{"id":30080287,"uuid":"33629855","full_name":"vzool/fullstack-nanodegree-item-catalog","owner":"vzool","description":null,"archived":false,"fork":false,"pushed_at":"2015-04-11T05:17:11.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-11T20:50:37.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vzool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-08T20:14:26.000Z","updated_at":"2015-04-11T05:17:11.000Z","dependencies_parsed_at":"2022-08-28T18:13:30.617Z","dependency_job_id":null,"html_url":"https://github.com/vzool/fullstack-nanodegree-item-catalog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vzool/fullstack-nanodegree-item-catalog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-item-catalog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-item-catalog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-item-catalog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-item-catalog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vzool","download_url":"https://codeload.github.com/vzool/fullstack-nanodegree-item-catalog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-item-catalog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266472772,"owners_count":23934468,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-05-17T20:12:15.454Z","updated_at":"2025-07-22T10:06:27.344Z","avatar_url":"https://github.com/vzool.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Full Stack Nanodegree Item Catalog\n\n\nThis is a python web application working with a Database as a Back-End.\nWhich is provide a Front-End interface make users make there own catalog with items inside it too.\n\nAll person will allowed to browse all catalog and items, and he/she can make their own Catalog and share them among Catalog Item App community.\n\n## File Structure\n\nI organized the project with considerations based on trustful functionality.\n\n```\n\ttemplates\t\t\t(application html files)\n\tapp.py\t\t\t\t(application start file)\n\tdatabase_setup.py\t(Database Setup)\n```\n## Database Structure\n\n```SQL\n\n-- Authentication table\n\nCREATE TABLE person (\n\tid INTEGER NOT NULL, \n\tname VARCHAR(250) NOT NULL, \n\temail VARCHAR(250) NOT NULL, \n\tpassword VARCHAR(250) NOT NULL, \n\tcreated_at DATETIME, \n\tPRIMARY KEY (id)\n)\n\n\n-- Catalog table\n\nCREATE TABLE catalog (\n\tid INTEGER NOT NULL, \n\tname VARCHAR(250) NOT NULL, \n\tperson_id INTEGER, \n\tcreated_at DATETIME, \n\tPRIMARY KEY (id), \n\tFOREIGN KEY(person_id) REFERENCES person (id)\n)\n\n-- Item Catalog table\n\nCREATE TABLE catalog_item (\n\tid INTEGER NOT NULL, \n\tname VARCHAR(80) NOT NULL, \n\tdescription VARCHAR(250), \n\tcatalog_id INTEGER, \n\tperson_id INTEGER, \n\tcreated_at DATETIME, \n\tPRIMARY KEY (id), \n\tFOREIGN KEY(catalog_id) REFERENCES catalog (id), \n\tFOREIGN KEY(person_id) REFERENCES person (id)\n)\n\n```\n\n## Instructions\n\nTo Test this application you will need to following those steps:\n\n### Server side\n\nFirst you need to initialize Database:\n\n```\n$ python database_setup.py\n``` \n\nAnd Finally, start server by:\n\n```\n$ python app.py\n```\n\nThen application server will run on port 5000.\n\n\n### Server side(Vagrant option)\nTo avoid wrong configuration you can test this system as a Virtual Machine(VM), and I will tell you how in Debian Linux like:\n\nFirst, install those packages:\n```\n$ sudo apt-get install virtualbox vagrant\n```\nThen fire up VM\n```\n$ vagrant up --provider virtualbox\n```\nIt will take some time to download ubuntu.\n\nFinally, login to your VM and run the app:\n```\n$ # you should be inside the home folder of the app\n$ vagrant ssh\n$\n$ # Then go to home directory app inside VM:\n$ cd /vargant\n$\n$ # Create database\n$ python database_setup.py\n$\n$ # Finally run application\n$ python app.py\n```\n\n### Client side\n\nOpen your browser with this URL:\n\n```\nhttp://127.0.0.1:5000\n```\n\n## Requirements\n\n### Server side\n\nYou will need a Python 2.x language installed in your server system with some libraries:\n\n- python-sqlalchemy\n- python-flask\n- python-requests\n- Flask-Login\n- oauth2client\n- requests\n\n### Client side\n\nTo run this Web Application you will need a browser which should be in specific versions that fully supports the JavaScript language, which those browsers and versions are:\n\n- Chrome: 4.0+\n- IE(Internet Explorer): 9.0+\n- Firefox: 2.0+\n- Safari: 3.1+\n- Opera: 9.0+\n\n## Licence\n\nIt's Completely Free. But, Do whatever you like to do on your own full responsibility;\n\nThis licence is known with [MIT License](http://vzool.mit-license.org/) in professional networks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvzool%2Ffullstack-nanodegree-item-catalog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvzool%2Ffullstack-nanodegree-item-catalog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvzool%2Ffullstack-nanodegree-item-catalog/lists"}