Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreie91/elm-hacker-news-app
An Elm web application which displays hacking related news.
https://github.com/andreie91/elm-hacker-news-app
elm hacking news web
Last synced: about 2 months ago
JSON representation
An Elm web application which displays hacking related news.
- Host: GitHub
- URL: https://github.com/andreie91/elm-hacker-news-app
- Owner: AndreiE91
- Created: 2024-02-12T19:25:44.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-12T22:16:44.000Z (11 months ago)
- Last Synced: 2024-11-21T20:06:21.741Z (about 2 months ago)
- Topics: elm, hacking, news, web
- Language: JavaScript
- Homepage:
- Size: 12.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Elm Hacker News App
![Hacker News](images/img1.png)
This project is a basic Hacker News client implemented in Elm. It fetches the top stories and displays them in a table, allowing users to filter and sort posts by various criteria.
## Installation and Setup
### Cloning the Repository
Clone this repository using the following command:
```sh
git clone https://github.com/AndreiE91/Elm-Hacker-News-App.git
cd Elm-Hacker-News-App
```### Installing Dependencies
After cloning the repository, navigate to its directory and run:
```sh
npm install
```This will install the dependencies needed for automated tests.
### Running the Application
To start the application, run:
```sh
elm reactor
```
Then open the `src/Main.elm` file in your browser.## Project Structure
The project structure is as follows:
- `src`: Contains the workspace.
- `tests`: Evaluation tests.
- `scripts`: Utility scripts.
- `elm.json`: Elm project configuration.
- `package.json`: npm project configuration.## Running Tests
To run all tests and see detailed explanations for all failures, use:
```sh
npm test
```