{"id":31835136,"url":"https://github.com/pauloparakleto/order-management-system","last_synced_at":"2026-05-17T02:46:04.474Z","repository":{"id":47666309,"uuid":"396969344","full_name":"Pauloparakleto/order-management-system","owner":"Pauloparakleto","description":"A very simple order management system having orders from pending up to completed state.","archived":false,"fork":false,"pushed_at":"2021-08-20T13:17:23.000Z","size":213,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"release/v0.1","last_synced_at":"2024-06-12T18:49:41.916Z","etag":null,"topics":["order-management","orders","orders-digital","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"https://order-wizard-manager.herokuapp.com/orders","language":"Ruby","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/Pauloparakleto.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":"2021-08-16T20:56:35.000Z","updated_at":"2021-08-20T13:17:26.000Z","dependencies_parsed_at":"2022-08-21T10:10:43.127Z","dependency_job_id":null,"html_url":"https://github.com/Pauloparakleto/order-management-system","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Pauloparakleto/order-management-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pauloparakleto%2Forder-management-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pauloparakleto%2Forder-management-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pauloparakleto%2Forder-management-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pauloparakleto%2Forder-management-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pauloparakleto","download_url":"https://codeload.github.com/Pauloparakleto/order-management-system/tar.gz/refs/heads/release/v0.1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pauloparakleto%2Forder-management-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009512,"owners_count":26084609,"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-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["order-management","orders","orders-digital","ruby","ruby-on-rails"],"created_at":"2025-10-12T00:56:30.078Z","updated_at":"2025-10-12T00:56:37.875Z","avatar_url":"https://github.com/Pauloparakleto.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test-Apply\n\n# Order Management System\nLet's build a very simple order management system having orders from pending up to completed state.\n\n## Requirements\n\n- [x] An order has a control number and a state.\n\n- [x] When the order is added to the system, it has a pending state.\n\n- [x] I want to be able to start the progress of an order.\n\n- [x] I want to be able to complete an order.\n\n- [x] I want to filter orders by number control and state.\n\n## Invariants\n- [x] A pending order can only go to in progress state.\n\n- [x] An in progress order can only go to completed.\n\n- [x] Completed orders are done and should preserve its state.\n\n## Instructions\nCreate a github repo to develop your solution.\n\n\nPS 1: Using a css library/framework is a plus.\n\nPS 2: Tests are needed.\n\nPS 3: We’ll evaluate everything from the git history to the implemented code.\n\n# Start the Project in your own machine\n\n## Clone it\n\n1. Using SSH: `git clone git@github.com:Pauloparakleto/order-management-system.git`\n\n\n2. Using HTTPS: `git clone https://github.com/Pauloparakleto/order-management-system.git`\n\n## Bundle it\n\nOn terminal run: `bundle install`\n\n## PostgreSQL Staff\n\n[I don't have postgre locally on my Ubuntu Machine](https://help.ubuntu.com/community/PostgreSQL). Follow the instruction\non the link and come back to the instructions bellow.\n\n1. Rename the file `database.sample.yml` to `database.yml`\n2. Set the password on the default area according to your password, mine is `12345`\n3. Set the username on the default area to your role with privilege to create database.\n   Mine is the default role. So I comment out the username line in order\n   to postgre reach the name of my machine.\n4. Start database server: `sudo service postgresql start`\n\n## Connect Rails to the database\n\nRun: `rails db:create db:migrate`\n\nOptionally you might populate the database with initial data: `rails db:seed`.\nHowever, you will not be able to test the create workflow since the delete action is not part of the\ncurrent release.\n\nAny way, you may delete the data to restart the create workflow by running:\n`rails db:drop db:create db:migrate`\n\n## Run the server\nRun: `rails webpacker:install`\n\nRun: `rails server`\n\n## Testing it\n\nAt least but also important, run the tests: `rspec`\n\nIf your integration test fails with webpack misses configuration warnings, run: `rails webpacker:install`\n\n## Coverage\n![Captura de tela de 2021-08-20 10-12-28](https://user-images.githubusercontent.com/52010485/130238967-84720fcb-7e10-4fb1-8567-326f809002a1.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauloparakleto%2Forder-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpauloparakleto%2Forder-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauloparakleto%2Forder-management-system/lists"}