{"id":22217069,"url":"https://github.com/johndev19/java-stock-tracker","last_synced_at":"2025-07-13T19:08:55.379Z","repository":{"id":260855365,"uuid":"882543126","full_name":"JohnDev19/Java-Stock-Tracker","owner":"JohnDev19","description":"Stock Tracker Server is a simple Java-based web application that provides a mock stock tracking interface.","archived":false,"fork":false,"pushed_at":"2024-11-03T04:04:57.000Z","size":101,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T07:14:55.085Z","etag":null,"topics":["java","stock","stock-price-tracker"],"latest_commit_sha":null,"homepage":"","language":"Java","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/JohnDev19.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-03T03:57:03.000Z","updated_at":"2024-11-03T04:06:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1428060-18d1-4527-aa48-d136310c2f9e","html_url":"https://github.com/JohnDev19/Java-Stock-Tracker","commit_stats":null,"previous_names":["johndev19/java-stock-tracker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JohnDev19/Java-Stock-Tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FJava-Stock-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FJava-Stock-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FJava-Stock-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FJava-Stock-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnDev19","download_url":"https://codeload.github.com/JohnDev19/Java-Stock-Tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FJava-Stock-Tracker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265191295,"owners_count":23725293,"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":["java","stock","stock-price-tracker"],"created_at":"2024-12-02T22:14:58.095Z","updated_at":"2025-07-13T19:08:51.290Z","avatar_url":"https://github.com/JohnDev19.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stock Tracker Server\n\n## Description\nStock Tracker Server is a simple Java-based web application that provides a mock stock tracking interface.\n\n![Screenshot](IMG_20241103_115443.jpg)\n\n## Features\n- Simple web interface for querying stock information\n- Display of current stock price, change percentage, and trading volume\n- Historical price chart using Chart.js\n- Mock data for demonstration (currently includes AAPL and GOOGL)\n\n## Prerequisites\n- Java Development Kit (JDK) 15 or later\n- Web browser (Chrome, Firefox, Safari, or Edge recommended)\n\n## Installation and Running\n1. Clone the repository or download the `StockTrackerServer.java` file.\n2. Open a terminal or command prompt.\n3. Navigate to the directory containing `StockTrackerServer.java`.\n4. Compile the Java file:\n\u003e Run the server:\n```java\njava StockTrackerServer\n```\n6. Open a web browser and go to `http://localhost:8080`.\n\n## Usage\n1. Enter a stock symbol (e.g., AAPL or GOOGL) in the input field.\n2. Click the \"Get Stock Info\" button.\n3. View the displayed stock information and historical price chart.\n\n## Limitations\n- This is a demo application with mock data.\n- Only AAPL (Apple) and GOOGL (Google) stock symbols are available in the mock database.\n- The server runs locally and is not suitable for production environments without modifications.\n\n## Customization\nTo add more stocks or modify existing ones, edit the `initializeStockDatabase()` method in the `StockTrackerServer.java` file.\n\n## Security Note\nThis server is intended for local use and demonstration purposes only. It does not implement any security measures and should not be exposed to the public internet.\n\n## License\nThis project is open-source and available under the MIT [License](License).\n\n## Contributing\nContributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.\n\n## Author\n[JohnDev19]\n\n## Acknowledgments\n- Chart.js for the interactive stock price charts\n- Java HttpServer for the simple web server implementation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohndev19%2Fjava-stock-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohndev19%2Fjava-stock-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohndev19%2Fjava-stock-tracker/lists"}