{"id":22790384,"url":"https://github.com/sdclarkelab/stockwatch-api","last_synced_at":"2026-05-06T04:06:35.597Z","repository":{"id":46843008,"uuid":"272111211","full_name":"sdclarkelab/stockwatch-api","owner":"sdclarkelab","description":"StockWatchJa API","archived":false,"fork":false,"pushed_at":"2022-03-07T02:29:41.000Z","size":166,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T18:36:48.500Z","etag":null,"topics":["api","django-rest-framework","docker","docker-compose","heroku","jamaica","jamstockex","postgresql","python","stockwatch-api","stockwatchja"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/sdclarkelab.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":"2020-06-14T01:09:00.000Z","updated_at":"2021-04-20T01:55:47.000Z","dependencies_parsed_at":"2022-09-03T23:22:17.856Z","dependency_job_id":null,"html_url":"https://github.com/sdclarkelab/stockwatch-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdclarkelab%2Fstockwatch-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdclarkelab%2Fstockwatch-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdclarkelab%2Fstockwatch-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdclarkelab%2Fstockwatch-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdclarkelab","download_url":"https://codeload.github.com/sdclarkelab/stockwatch-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246350914,"owners_count":20763228,"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":["api","django-rest-framework","docker","docker-compose","heroku","jamaica","jamstockex","postgresql","python","stockwatch-api","stockwatchja"],"created_at":"2024-12-12T02:26:23.823Z","updated_at":"2026-05-06T04:06:35.583Z","avatar_url":"https://github.com/sdclarkelab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StockWatchJa API\nThis is the server for the StockWatchJa application. It pulls stock trade data from **[StockWatchJA: JamStockEx API](https://github.com/sdclarkelab/jamstockex-api)** at this [URL](http://jamstockexapi.stockwatchja.com/stocks).\n\n## API Documentation\nClick [here](https://documenter.getpostman.com/view/6678518/S1TU3eAz) to view the API documentation.\n\n## Requirements\nTool | Version  | Source |\n--- | --- | --- |\nPython |3.7.4| [Python 3.7.4 Release](https://www.python.org/downloads/release/python-374/)|\nHeroku|-|[Getting Started on Heroku with Python](https://devcenter.heroku.com/articles/getting-started-with-python)|\nWindows OS| 10 | - | \nDocker| 19.03.4| [Docker Desktop](https://www.docker.com/products/docker-desktop)|\n\n### Setup Dev\n\n#### Create Django dev setting file\nExport settings module: \n- On Windows: `set DJANGO_SETTINGS_MODULE=development.local_settings`\n- On Linux: `export DJANGO_SETTINGS_MODULE=development.local_settings`\n\n\n#### Create and initialize Docker database \n``` shell script\n# Create Postgres database Docker container and create schema\n\u003e python development/dev_setup.py\n\n# Create admin user\n\u003e python manage.py createsuperuser\n```\n\n#### Test Super User Credentials\n\n```shell script\n\u003e python manage.py runserver 5555\n```\n\nLogin to [admin page](http://127.0.0.1:5555/api/v1/stockwatch_admin/) with super user credentials to confirm it works.\n(use \"***[custom_admin_page](http://docker_ip_add/api/v1/stockwatch_admin/)***\" if the docker-machine ip is not using the default IP address)\n\n\n#### Register Application\n\nGo to [application registration](http://127.0.0.1:5555/api/v1/stockwatch_admin/o/applications/) and complete the form.\n(use \"***[custom application registration](http://docker_ip_add/api/v1/stockwatch_admin/o/applications/)***\" if the docker-machine ip is not using the default IP address)\n\u003e Name: StockwatchAPI\n\u003e\n\u003e Client type: Confidential\n\u003e\n\u003e Authorization grant type: Resource owner password-based\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdclarkelab%2Fstockwatch-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdclarkelab%2Fstockwatch-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdclarkelab%2Fstockwatch-api/lists"}