{"id":14955682,"url":"https://github.com/luhluh-17/stock-trading","last_synced_at":"2026-01-12T11:03:02.950Z","repository":{"id":60996634,"uuid":"543825100","full_name":"luhluh-17/stock-trading","owner":"luhluh-17","description":"A Ruby on Rails 7 application that simulates purchasing and selling stocks","archived":false,"fork":false,"pushed_at":"2023-03-01T17:53:45.000Z","size":347,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T20:18:30.371Z","etag":null,"topics":["rails-application","rails7","ruby"],"latest_commit_sha":null,"homepage":"https://rails-stock-trading.fly.dev/","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/luhluh-17.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":"2022-09-30T23:28:08.000Z","updated_at":"2022-11-28T04:00:01.000Z","dependencies_parsed_at":"2024-09-29T06:17:53.658Z","dependency_job_id":null,"html_url":"https://github.com/luhluh-17/stock-trading","commit_stats":{"total_commits":154,"total_committers":4,"mean_commits":38.5,"dds":"0.43506493506493504","last_synced_commit":"34146f4405d7b2c68c035df01b3ac52c951e5ec6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luhluh-17/stock-trading","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luhluh-17%2Fstock-trading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luhluh-17%2Fstock-trading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luhluh-17%2Fstock-trading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luhluh-17%2Fstock-trading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luhluh-17","download_url":"https://codeload.github.com/luhluh-17/stock-trading/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luhluh-17%2Fstock-trading/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["rails-application","rails7","ruby"],"created_at":"2024-09-24T13:11:32.699Z","updated_at":"2026-01-12T11:03:02.934Z","avatar_url":"https://github.com/luhluh-17.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stokd\nA Ruby on Rails 7 application that simulates purchasing and selling stocks\n\n### ⚙ Setup \nTo run the project locally\n1. Clone the repository\n2. Create an environment file \".env\" in the root folder\n3. Set values to the following variables. example syntax: \"USERNAME = 'User1'\"\n    1. USER_NAME (Email address of the account use to send confirmation emails to newly created accounts)\n    2. PASSWORD (Password of the account use to send confirmation emails to newly created accounts)\n    3. SECRET (Secret key obtain from IEX API)\n    4. PUBLISHABLE (Publishable key obtain from IEX API)\n    5. ENDPOINT (IEX API Link - https://cloud.iexapis.com/v1)\n4. Navigate to folder\n4. Create Postgresql database using command \"rails db:create\"\n5. Run migrations using command \"rails db:migrate\"\n6. [OPTIONAL] Populate database using command \"rails db:seed\"\n7. Run Rails Server using \"rails s\"\n\n### 💻 Features:\n#### General\n* Register and Login account using Devise gem\n* Send email confirmation on upon registration\n#### Admin\n* Approve and Reject users account\n* Edit users information\n* Display all transactions made by users \n#### User\n* View list of trending stocks\n* Search stock using IEX API\n* Buy and Sell stocks in Marketplace\n* Update Buyer and Seller balance after each transaction\n* Display transactions made by the user\n\n### 🚀 Live Demo\nhttps://rails-stock-trading.fly.dev/\n\n#### Dummy Accounts\nAccounts    | Email \u0026 Password\n:---------: | :-------------------------------:\nAdmin       | `admin@test.com` / password\nUser1       | `user1@test.com` / password\nUser2       | `user2@test.com` / password\n\n### 👨🏽‍💻 Tech Stacks\n\nCategory    | Languages / Frameworks / Tools\n:---------: | :-------------------------------:\nFront-end   | [![html5](https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/HTML5_Badge.svg/64px-HTML5_Badge.svg.png)][1] [![css3](https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/CSS3_logo.svg/64px-CSS3_logo.svg.png)][2] \nBack-end    | [![ruby](https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/Ruby_logo.svg/64px-Ruby_logo.svg.png)][3] [![ruby on rails](https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/Ruby_On_Rails_Logo.svg/170px-Ruby_On_Rails_Logo.svg.png)][4] [![PostgreSQL](https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Postgresql_elephant.svg/64px-Postgresql_elephant.svg.png)][5]\n\n### 🛠 Database\n#### View the [Entity Relationship Diagram](https://github.com/luhluh-17/stock-trading/blob/main/docs/erd-1.png)\n\n### 📷 Screenshots\n![user-dashboard-min](https://user-images.githubusercontent.com/33846123/196827387-77fafd53-e36b-4bbd-9f1e-8dc68ad7ee16.png)\n![admin-transactions-min](https://user-images.githubusercontent.com/33846123/196827414-8e1ad1d7-bb65-47c0-bf89-646eff2bc932.png)\n\n\n### 👥 Team/Contributors\n\u003ca href=\"https://github.com/luhluh-17\"\u003e\n  \u003cimg src=\"https://avatars.githubusercontent.com/u/33846123?v=4\" alt=\"Team Member 1\" style=\"height: 64px; width:64px\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/dvdlvll\"\u003e\n  \u003cimg src=\"https://avatars.githubusercontent.com/u/102253510?v=4\" alt=\"Team Member 2\" style=\"height: 64px; width:64px\"/\u003e\n\u003c/a\u003e\n\n\u003c!-- Links --\u003e\n[1]: https://developer.mozilla.org/en-US/docs/Glossary/HTML5\n[2]: https://developer.mozilla.org/en-US/docs/Web/CSS\n[3]: https://www.ruby-lang.org/en/\n[4]: https://rubyonrails.org/\n[5]: https://www.postgresql.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluhluh-17%2Fstock-trading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluhluh-17%2Fstock-trading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluhluh-17%2Fstock-trading/lists"}