{"id":21415965,"url":"https://github.com/shahroz16/item-catalog","last_synced_at":"2026-04-09T21:05:11.909Z","repository":{"id":50201252,"uuid":"153447596","full_name":"Shahroz16/Item-catalog","owner":"Shahroz16","description":"Its an application that provides a list of items within a variety of categories as well as provide a user registration and authentication system using (Google Accounts). Registered users will have the ability to post, edit and delete their own items.","archived":false,"fork":false,"pushed_at":"2023-09-29T14:56:27.000Z","size":114,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T05:41:28.711Z","etag":null,"topics":["flask","item-catalog","postgresql","python","vagrant"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Shahroz16.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":"2018-10-17T11:46:00.000Z","updated_at":"2018-12-27T11:17:34.000Z","dependencies_parsed_at":"2025-01-23T05:40:48.227Z","dependency_job_id":"352d44e6-55f6-470a-8270-ff880c27e654","html_url":"https://github.com/Shahroz16/Item-catalog","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shahroz16%2FItem-catalog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shahroz16%2FItem-catalog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shahroz16%2FItem-catalog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shahroz16%2FItem-catalog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shahroz16","download_url":"https://codeload.github.com/Shahroz16/Item-catalog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243918630,"owners_count":20368745,"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":["flask","item-catalog","postgresql","python","vagrant"],"created_at":"2024-11-22T18:55:55.686Z","updated_at":"2026-04-09T21:05:11.867Z","avatar_url":"https://github.com/Shahroz16.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Item Catalog\n\nIts an application that provides a list of items within a variety of categories as well as provide a user registration and authentication system using (Google Accounts). Registered users will have the ability to post, edit and delete their own items.\n\n## Requirements\n\nTo run this project you are required to have a database software (provided by a Linux virtual machine) and the data to analyze. For this we recommend\n\n- Vagrant\n- VirtualBox\n\n[You can download it from virtualbox.org, here.](https://www.virtualbox.org/wiki/Download_Old_Builds_5_1)\nYou do not need to launch VirtualBox after installing it; Vagrant will do that.\nVagrant is the software that configures the VM and lets you share files between your host computer and the VM's filesystem [ Download vagrant from vagrantup.com](https://www.vagrantup.com/downloads.html)\n\nTo download the VM configuration, you can download and unzip this file: [FSND-Virtual-Machine.zip](https://s3.amazonaws.com/video.udacity-data.com/topher/2018/April/5acfbfa3_fsnd-virtual-machine/fsnd-virtual-machine.zip) This will give you a directory called FSND-Virtual-Machine. It may be located inside your `Downloads` folder.\n\nYou should have a new directory containing the VM files. Change to this directory in your terminal with `cd`. Inside, you will find another directory called `vagrant`. Change directory to the vagrant directory.\nNow you need to bring the virtual machine online (with `vagrant up`), do so now. Then log into it with `vagrant ssh`.\n\n## Database\n\nThe database named `itemcatalog` consist of three tables\n- The `user` table includes information about the users.\n- The `category` table includes the categories of catalog.\n- The `category_item` table includes items in each category.\n\n## Setup project\n\nClone the project into the`vagrant` directory, which is shared with your virtual machine.\n\nRun the following command to set up the database:\n```\npython database_setup.py\n```\nTo fill the database with dummy data, use the following command\n```\npython fill_database.py\n```\n\n## Running the project\n\nProject can be run just by the following command, given the database has been set up.\n\n```\npython project.py\n```\nOpen http://localhost:5000/ in your favorite Web browser to see the application running.\n\n## JSON APIs\n\nThe project implements `JSON endpoint` where you can get the same information as displayed in\n`HTML endpoints` for list of `categories` and list of `category items`\nTo get list of categories in catalog\n```\nhttp://localhost:5000/category/json\n```\nTo get items in a particular category\n```\nhttp://localhost:5000/category/1/items/json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahroz16%2Fitem-catalog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshahroz16%2Fitem-catalog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahroz16%2Fitem-catalog/lists"}