{"id":48549895,"url":"https://github.com/david2261/investor","last_synced_at":"2026-04-08T08:03:06.942Z","repository":{"id":154478329,"uuid":"380041526","full_name":"David2261/Investor","owner":"David2261","description":"News, blog and investor/trader community. With us you will be able to start your way in investing and increasing your capital.","archived":false,"fork":false,"pushed_at":"2026-02-26T17:38:26.000Z","size":68770,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-26T23:44:34.037Z","etag":null,"topics":["axios","django","docker","drf","investing","nginx","python","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/David2261.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-24T20:20:54.000Z","updated_at":"2026-02-26T17:38:31.000Z","dependencies_parsed_at":"2023-07-18T09:05:30.838Z","dependency_job_id":"c6bbf5e4-cdb8-45c5-aa33-49de914c22ac","html_url":"https://github.com/David2261/Investor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/David2261/Investor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David2261%2FInvestor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David2261%2FInvestor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David2261%2FInvestor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David2261%2FInvestor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/David2261","download_url":"https://codeload.github.com/David2261/Investor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David2261%2FInvestor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31545909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"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":["axios","django","docker","drf","investing","nginx","python","react"],"created_at":"2026-04-08T08:02:39.259Z","updated_at":"2026-04-08T08:03:06.935Z","avatar_url":"https://github.com/David2261.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e\u003ca target=\"_blank\" href=\"https://app.eraser.io/workspace/zRIHtZPvAIwJaddZIRaJ\" id=\"edit-in-eraser-github-link\"\u003e\u003cimg alt=\"Edit in Eraser\" src=\"https://firebasestorage.googleapis.com/v0/b/second-petal-295822.appspot.com/o/images%2Fgithub%2FOpen%20in%20Eraser.svg?alt=media\u0026amp;token=968381c8-a7e7-472a-8ed6-4a6626da5501\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n# InvestorSite\n[![Twitter](https://img.shields.io/twitter/url?logo=Twitter\u0026style=social\u0026url=https%3A%2F%2Ftwitter.com%2Fad_ge_1)](https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fgithub.com%2FDavid2261%2FPython_Apps.git)\n[![GitHub issues](https://img.shields.io/github/issues/David2261/Investor)](https://github.com/David2261/Investor/issues)\n[![GitHub license](https://img.shields.io/github/license/David2261/Investor)](https://github.com/David2261/Investor/blob/main/LICENSE)\n\n[![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code\u0026pause=1000\u0026width=435\u0026lines=The+investor+site)](https://git.io/typing-svg)\n\n## Tools\n* 📋 Languages:\n\t- ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54) ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge\u0026logo=javascript\u0026logoColor=%23F7DF1E)\n* 📚 Frameworks, Platforms and Libraries:\n\t- ![Django](https://img.shields.io/badge/django-%23092E20.svg?style=for-the-badge\u0026logo=django\u0026logoColor=white) ![DjangoREST](https://img.shields.io/badge/DJANGO-REST-ff1709?style=for-the-badge\u0026logo=django\u0026logoColor=white\u0026color=ff1709\u0026labelColor=gray) ![JWT](https://img.shields.io/badge/JWT-black?style=for-the-badge\u0026logo=JSON%20web%20tokens) ![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge\u0026logo=node.js\u0026logoColor=white) ![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB)\n* 💾 Data Base:\n\t- ![MongoDB](https://img.shields.io/badge/MongoDB-%234ea94b.svg?style=for-the-badge\u0026logo=mongodb\u0026logoColor=white) ![MySQL](https://img.shields.io/badge/mysql-%2300f.svg?style=for-the-badge\u0026logo=mysql\u0026logoColor=white)\n* 💻 IDEs/Editors:\n\t- ![Sublime Text](https://img.shields.io/badge/sublime_text-%23575757.svg?style=for-the-badge\u0026logo=sublime-text\u0026logoColor=important)\n\n    - \n## Description\n_I have written a website where an investor and a trader can: read the latest news related to finance, share their impressions about the state of the market and see the comments of other market participants_\n\n## Topics\n```\n- Investing\n- Trading\n- News\n- Comments\n```\n## Getting Started\n- Virtual environment\n    - pip install virtualenv\n- Activate\n    - venv\\Scripts\\activate\n- Install tools\n    - pip install -r requirements\n- Run django server\n    1. python manage.py makemigrations\n    2. python manage.py migrate\n    3. python manage.py runserver\n- Run Node server\n```bash\ncd hello/apps/frontend\nnpm run dev\n```\n## Example\n```python\n# Блок для создания статей\nclass Article(models.Model):\n    Idea = 'ID'\n    Learn = 'LN'\n    Motivation = 'mt'\n    Blog = 'bl'\n\n    # Переменная по созданию определенных категорий, т.е.\n    # на каждой странице своя тема.\n    CATEGORY = [\n        (Idea, 'Idea'),\n        (Learn, 'Learn'),\n        (Motivation, 'Motivation'),\n        (Blog, 'Blog'),\n    ]\n\n    title = models.CharField('Название статьи', max_length = 120)\n    text = HTMLField('Текст статьи')\n    genre = models.ManyToManyField(\n        Genre,\n        help_text=\"Select a genre for this article\"\n    )\n    category = models.CharField(\n        max_length=2,\n        choices=CATEGORY,\n        default=Blog,\n    )\n    views = models.IntegerField('Просмотры', default=0)\n    image = models.ImageField(\n        null = True,\n        blank=True,\n        upload_to='Article',\n        help_text='150x150px',\n        verbose_name='Изображение'\n    )\n    pub_date = models.DateTimeField('Дата публикации', auto_now_add = True)\n    content = HTMLField(null=True)\n\n    def display_genre(self):\n        return ', '.join([ genre.name for genre in self.genre.all()[:3] ])\n        display_genre.short_description = 'Genre'\n\n    def __str__(self):\n        return self.title\n\n    def was_published_recently(self):\n        return self.pub_date \u003e= (\n            timezone.now() - datetime.timedelta(days = 7)\n        )\n        \n    class Meta:\n                verbose_name = 'Статья'\n                verbose_name_plural = 'Статьи'\n                ordering = [\"-id\", \"-pub_date\"]```\n```\n\n\n\n\n\u003c!--- Eraser file: https://app.eraser.io/workspace/zRIHtZPvAIwJaddZIRaJ ---\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid2261%2Finvestor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavid2261%2Finvestor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid2261%2Finvestor/lists"}