https://github.com/data-miner00/ng-hackernews

Hackernews implementation in Angular

https://github.com/data-miner00/ng-hackernews

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.7%) to scientific vocabulary

Keywords

angular circleci hackernews
Last synced: 5 months ago · JSON representation

Repository

Hackernews implementation in Angular

Basic Info
  • Host: GitHub
  • Owner: data-miner00
  • License: mit
  • Language: TypeScript
  • Default Branch: master
  • Homepage: https://hn.mumk.dev
  • Size: 4.22 MB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 8
  • Releases: 0
Topics
angular circleci hackernews
Created about 4 years ago · Last pushed 8 months ago
Metadata Files
Readme License

README.md

Contributors Forks Stargazers Issues MIT License


The Hacker Times

An Angular implementation of Hackernews with NY Times vibes.
View Website »

Explore the docs · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. License
  6. Acknowledgments

I believe beautiful web apps can be made with Angular too 💕

About The Project

Landing Page

A simple implementation of the Hackernews interface in Angular using the official Hackernews API. Save your favourite posts or interesting topics to the read later lists that are stored entirely on your browser.

Stories List

The listing page for Top Stories, Ask Stories, Show Stories and Job Stories.

Story Page

The page for an individual story with details and discussions.

(back to top)

Built With

The technologies and tools used in the project.

  • Angular
  • Sass
  • TypeScript
  • Jasmine/Karma

(back to top)

Design

There are not much design considerations when it comes to this project and hence very straightforward and simple. The portal itself consumes the data from Hackernews API and persistence via localStorage.

mermaid graph LR hn[Hackernews API] -- Stories --> Portal localStorage -- Persistence --> Portal

(back to top)

Getting Started

Prerequisites

The list of tools that are used for development.

  • npm sh npm install npm@latest -g
  • Git
  • firebase-tools sh npm install -g firebase-tools

Installation

Installation is fairly straightforward. Just clone the repo and npm i && npm start.

  1. Clone the repo sh git clone https://github.com/data-miner00/ng-hackernews.git
  2. Install Node dependencies sh npm i
  3. Recommend to run tests to check if things are breaking sh npm test
  4. Lint the Sass files sh npm run lint:css
  5. Start local dev server sh npm start
  6. Compile for production sh npm run build
  7. Deployment sh firebase deploy

(back to top)

Roadmap

  • [ ] Add Pexels API for image
  • [ ] Use mixin for repeated css
  • [ ] Implement User Page
  • [ ] Add upvote count to comment
  • [ ] Implement random page
  • [ ] Add linter
  • [ ] Improve mobile responsiveness
  • [ ] Use RxJs ShareReplay to cache results

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

I am bad at design, please help if you can design it better!

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Acknowledgments

List of resources that are helpful and would like to give credit to.

(back to top)

Owner

  • Name: Shaun Chong
  • Login: data-miner00
  • Kind: user
  • Location: undefined, Mars
  • Company: Experian

Full Queue Developer

GitHub Events

Total
  • Issues event: 4
  • Delete event: 1
  • Push event: 2
  • Pull request event: 5
  • Create event: 4
Last Year
  • Issues event: 4
  • Delete event: 1
  • Push event: 2
  • Pull request event: 5
  • Create event: 4

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 333
  • Total Committers: 1
  • Avg Commits per committer: 333.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 32
  • Committers: 1
  • Avg Commits per committer: 32.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
data-miner00 d****0 333

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 11
  • Total pull requests: 11
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 22 hours
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.09
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 6 minutes
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.33
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • data-miner00 (12)
Pull Request Authors
  • data-miner00 (16)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

package.json npm
  • @angular-devkit/build-angular ~12.2.12 development
  • @angular/cli ~12.2.12 development
  • @angular/compiler-cli ~12.2.0 development
  • @types/jasmine ~3.8.0 development
  • @types/node ^12.11.1 development
  • dotenv ^16.0.0 development
  • jasmine-core ~3.8.0 development
  • karma ^6.3.16 development
  • karma-chrome-launcher ~3.1.0 development
  • karma-coverage ~2.0.3 development
  • karma-jasmine ~4.0.0 development
  • karma-jasmine-html-reporter ~1.7.0 development
  • typescript ~4.3.5 development
  • yargs ^17.3.1 development
  • @angular/animations ~12.2.0
  • @angular/common ~12.2.0
  • @angular/compiler ~12.2.0
  • @angular/core ~12.2.0
  • @angular/fire ^7.2.1
  • @angular/forms ~12.2.0
  • @angular/platform-browser ~12.2.0
  • @angular/platform-browser-dynamic ~12.2.0
  • @angular/router ~12.2.0
  • firebase ^9.4.0
  • rxfire ^6.0.0
  • rxjs ~6.6.0
  • tslib ^2.3.0
  • zone.js ~0.11.4
package-lock.json npm
  • 1038 dependencies