{"id":16183968,"url":"https://github.com/dev3h/news-api","last_synced_at":"2026-03-06T00:30:51.161Z","repository":{"id":247580621,"uuid":"675041075","full_name":"dev3h/news-api","owner":"dev3h","description":"api for news website write by nodejs and database is mysql","archived":false,"fork":false,"pushed_at":"2025-10-23T09:52:21.000Z","size":3022,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T11:37:35.172Z","etag":null,"topics":["api","api-rest","docker-compose","dockerfile","expressjs","mysql","news","newsapi","nodejs","render","restful-api","swagger","swagger-autogen"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dev3h.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-05T15:25:00.000Z","updated_at":"2025-10-23T09:52:24.000Z","dependencies_parsed_at":"2025-09-17T03:17:35.860Z","dependency_job_id":"9a6275b9-7412-4809-9235-dbb0a69142c7","html_url":"https://github.com/dev3h/news-api","commit_stats":{"total_commits":94,"total_committers":3,"mean_commits":"31.333333333333332","dds":"0.43617021276595747","last_synced_commit":"42a311049710f8364f8df75bdd00dd53c065e43d"},"previous_names":["dev3h/news-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dev3h/news-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fnews-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fnews-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fnews-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fnews-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev3h","download_url":"https://codeload.github.com/dev3h/news-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fnews-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30156285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"ssl_error","status_checked_at":"2026-03-05T22:39:24.771Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["api","api-rest","docker-compose","dockerfile","expressjs","mysql","news","newsapi","nodejs","render","restful-api","swagger","swagger-autogen"],"created_at":"2024-10-10T07:08:34.112Z","updated_at":"2026-03-06T00:30:51.153Z","avatar_url":"https://github.com/dev3h.png","language":"JavaScript","readme":"## Project Overview  \nThe news website project aims to provide a reliable, engaging, and user-friendly platform for diverse readers. Understanding that users spend around 30 minutes to an hour daily consuming news, our goal is to deliver personalized content based on individual interests, whether in politics, business, entertainment, sports, or technology. The platform will focus on credibility, leveraging advanced digital media and technology trends to enhance the reading experience.\n\n## Purpose and Objectives  \nThe primary purpose of this project is to develop an effective and appealing news website that caters to diverse user preferences while ensuring information reliability. To achieve this, we will:  \n\n- **Conduct market research** to understand user needs and expectations.  \n- **Optimize content delivery and management** through data-driven business models.  \n- **Integrate modern media and digital tools** to improve user experience.  \n- **Implement a rigorous news verification process** to ensure credibility.  \n- **Design an intuitive and engaging user interface** to attract and retain readers.  \n- **Develop marketing strategies** to enhance brand awareness and audience reach.  \n- **Monitor key performance metrics**, such as traffic, engagement, and retention.  \n- **Continuously improve** based on user feedback and emerging industry trends.  \n\n\n# Tech Stack:\n\n- **Frontend**: ReactJS \u0026 Tailwind CSS – Ensuring a fast and modern UI. Antdesign for a consistent and responsive design.\n- **Backend**: NodeJS - A robust and scalable backend for handling user requests and data processing.\n- **Database**: MySQL – A reliable and structured database for storing articles and user data.\n- **Cloud \u0026 Hosting**: AWS S3 for media storage, Redis for caching, and Docker for containerized deployment.\n\n# Key Features:\n- **Create and Manage Articles**: Authors can create, edit, and delete articles with rich text formatting.\n- **User Authentication**: Secure login with traditional email/password authentication.\n- **Comment**: Enable users to comment, like articles.\n# Use Case Diagram\n![alt text](document/diagram/usecase.png)\n\n| No. | Actor | Description |\n|----|----------------------|--------------------------------------|\n| 1 | User | Reads, bookmarks, and shares news articles. |\n| 2 | Author | Publishes and manages news content. |\n| 3 | Admin | Oversees user roles, permissions, and security. |\n\n# Database Schema\n![alt text](document/diagram/database.png)\n\n# Photo/Video Demo:\n\n- Some screenshots of the application:\n  ![alt text](document/photo/home.png)\n  ![alt text](document/photo/detail-post.png)\n  ![alt text](document/photo/post-management.png)\n## Installation\n\nTo install the necessary dependencies, run the following command:\n\n```bash\n$ npm install\n```\n\n## Running the App\n\nTo start the application, use the following commands:\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run dev\n\n```\n\n## Testing\n\nTo run tests, use the following commands:\n\n```bash\n# unit tests\n$ npm run test\n```\n\n## Support\n\nThis project is an MIT-licensed open-source project. Contributions and support from the community are welcome.\n\n## Stay in Touch\n\n- **Author**: [Dev3h](https://github.com/dev3h)\n- **Website**: coming soon\n\n## License\n\nThis project is [MIT licensed](LICENSE).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev3h%2Fnews-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev3h%2Fnews-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev3h%2Fnews-api/lists"}