Skip to content

Commit

Permalink
v1 HM Dashboard (#1)
Browse files Browse the repository at this point in the history
* Initial Commit

* Fixing TS issues

* Updating gtag, Trying to fix CSS loader

* Adding error message constant, Fixing redirects and loading new miner data, Adding redirect fix

* Removing redirects

* Updating README, Trying to fix redirects

* Update _redirects

* Update nuxt.config.js

* Updating utilities to utils, Updating responsiveness, Removing redirects

* Correcting overflow, Fixing css  for hovering over favourite star

* Correcting responsiveness

* Update _hotspot.vue

* Updating styling for toasts and spacing around title for hotspot

* Fixing hotspot display

* Fixing responsiveness, Fixing colors on mobile, Dividing sections up

* Removing commented code

* Adding to v2 documentation in README
  • Loading branch information
Michael Pereira authored Sep 10, 2021
1 parent b926208 commit 9de341a
Show file tree
Hide file tree
Showing 51 changed files with 19,925 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"env": {
"test": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
}
}
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
24 changes: 24 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = {
root: true,
env: {
browser: true,
node: true
},
extends: [
'@nuxtjs/eslint-config-typescript',
'plugin:nuxt/recommended',
'prettier'
],
plugins: [
],
// add your custom rules here
rules: {
// "@typescript-eslint/no-unsafe-argument": "off",
},
parserOptions: {
parser: "@typescript-eslint/parser",
ecmaFeatures : {
jsx : false
}
},
}
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

90 changes: 90 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Created by .ignore support plugin
### Node template
# Logs
/logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# Nuxt generate
dist

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

# IDE / Editor
.idea

# Service worker
sw.*

# macOS
.DS_Store

# Vim swap files
*.swp
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"semi": false,
"singleQuote": true
}
65 changes: 65 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<p align="center">
<img alt="HM Dashboard Logo" src="/static/logo.png" width="200" />
</p>
<h1 align="center">
HM Dashboard for HNT Miners
</h1>
<p align="center">
Minimalistic and modern user interface to display your HNT miner's data.
</p>

<hr/>

HM Dashboard is a low resource and bandwidth alternative to [Helium Explorer](https://explorer.helium.com/).

## 🖥 APIs

HM Dashboard currently uses [Helium APIs](https://docs.helium.com/api/).

## 💥 Community Contribution

This project is intended to receive community participation, if there's an optimizations, features, or fixes you have or can think of,
feel free to open a pull request or create an issue 🙂


## 🗺 Roadmap

### Goals

- Purchase custom domain to host <b>HM Dashboard</b>

### v1

- Initial release with Miner summary
- Receive feedback from community and users

### v2

- Fix any bugs/errors
- Add Settings
- Add Witnesses section
- Add Rewards section
- Add CI with Github
- Add Cypress testing for the UI
- Add Jest testing for the API calls

### v3

- TBA

## 🛠 Build Setup

```bash
# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate
```
Loading

0 comments on commit 9de341a

Please sign in to comment.