{"id":25828459,"url":"https://github.com/paladitya/dbmsproject2019","last_synced_at":"2026-05-16T17:08:16.966Z","repository":{"id":119918652,"uuid":"177003973","full_name":"PalAditya/DBMSProject2019","owner":"PalAditya","description":"Stock Market Emulator Web-app","archived":false,"fork":false,"pushed_at":"2019-10-08T09:20:44.000Z","size":1380,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-29T18:37:13.833Z","etag":null,"topics":["bokeh-dashboard","dbms-application","file-upload","flask","graph-plotter","machine-learning","python-3","server","sqlite3","stock-market","webapp"],"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/PalAditya.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":"2019-03-21T18:35:54.000Z","updated_at":"2023-05-03T10:55:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b643b0c-e3ea-4141-88d0-d824a7acc0b5","html_url":"https://github.com/PalAditya/DBMSProject2019","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PalAditya/DBMSProject2019","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalAditya%2FDBMSProject2019","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalAditya%2FDBMSProject2019/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalAditya%2FDBMSProject2019/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalAditya%2FDBMSProject2019/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PalAditya","download_url":"https://codeload.github.com/PalAditya/DBMSProject2019/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalAditya%2FDBMSProject2019/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33111500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["bokeh-dashboard","dbms-application","file-upload","flask","graph-plotter","machine-learning","python-3","server","sqlite3","stock-market","webapp"],"created_at":"2025-02-28T17:39:42.822Z","updated_at":"2026-05-16T17:08:16.961Z","avatar_url":"https://github.com/PalAditya.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DBMS Project for semester 6.  \nInspired by **Pset7**, *CS50-2018*  \n\nThe Flask app is configured to run on a CS50 IDE.  \nTo run it locally, there are a few steps.  \n- Use **pip install -r requirements.txt**\n- Use **set FLASK_APP=application.py** (Windows) and **export FLASK_APP=application.py** (Linux/MAC)\n- Change the line *db = SQL(\"sqlite:///finance.db\")* to make it use your own local/online sqlite instance (Use *sqlite_setup.py* for a local instance, which can be downloaded from [here](https://www.sqlite.org/download.html))\n- Set your gmail settings to allow *less secure* apps (only if you want to test the email feature-Explained later)\n\nNow, you're good to go :smile:\n\nThe live demo is hosted at [heroku](https://database-lab-app.herokuapp.com/) :grinning:\n\nThe various features of the webapp are: \n- Profile creation\n- Querying the current price of some share\n- Buying and selling the shares directly\n- Seeing a graphical overview of the fluctuation in share prices over time\n- Predicted prices of shares held by the user\n- History of transactions\n- Tabular representation of current shares\n- Adding friends to maintain a trusted list and sending mails to them \n- Viewing the most trending shares on that particular day\n- Companies can place ads for their shares on the platform for a price\n\n|URL|Function|\n|---------|------------|\nlogin|Allows user to log in\nregister|User Registration\ndownload|Downloads history of transactions in PDF format\nindex|Shows curren shares\naddFriend, deleteFriend and messageFriend|Adds, removes and messages a user to/from/on the friend list\nquote|See current price of a share\nbuy, sell| Buy or sell n particular shares\nlive|See updates of user's most important shares graphically\nads|Allows companies to place ads\nfunds/add|Allows users to add money to their account\nchange_password|Password change facilitated\n\nHere are a few images to explain the flow in more detail :smile:\n\n- The user is greeted with a list of his/her available stocks on logging in  \n\n![portfolio_1](https://user-images.githubusercontent.com/25523604/64475106-c95d9400-d19b-11e9-9da4-4691a44f806c.PNG)\n\n- Buying a stock  \n\n![Buying](https://user-images.githubusercontent.com/25523604/64475063-4b00f200-d19b-11e9-98b0-99defd622f8d.PNG)\n\n- You can see that a share of NetFlix was bought on the updated interface\n\n![portfolio_2](https://user-images.githubusercontent.com/25523604/64475169-a1bafb80-d19c-11e9-9c53-4beb5f2abe50.PNG)\n\n- Did I mention that we can get *list of all transactions*? The history tab supports it, alongside providing facility for downloading the report in PDF format\n\n![portfolio_with_pdf_download](https://user-images.githubusercontent.com/25523604/64475188-f2caef80-d19c-11e9-82ef-859054d6074a.PNG)\n\n- The interface for companies to upload ads\n\n![interface](https://user-images.githubusercontent.com/25523604/64475195-0d9d6400-d19d-11e9-9d41-ba5657b5c345.PNG)\n\n- The share prices for a company over the past 10 minutes (can be configured) via Pygal.\n\n![live_updates](https://user-images.githubusercontent.com/25523604/64475217-5c4afe00-d19d-11e9-96db-1d6e765ac82f.PNG)\n\n- The share prices of companies the user holds most shares of over past 10 minutes (can be cofigured) via Bokeh. Can add AjaxDataSource to make it auto-updating\n\n![live_stream](https://user-images.githubusercontent.com/25523604/64475271-37a35600-d19e-11e9-95fd-97cfa105bd4c.PNG)\n\n- Finlly, the error page (classic cat for the *CS50* touch)\n\n![Error](https://user-images.githubusercontent.com/25523604/64475286-7802d400-d19e-11e9-8ddc-72da3565a085.PNG)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaladitya%2Fdbmsproject2019","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaladitya%2Fdbmsproject2019","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaladitya%2Fdbmsproject2019/lists"}