https://github.com/ember-learn/ember-help-wanted-server
Thin backend for ember-help-wanted
https://github.com/ember-learn/ember-help-wanted-server
ember emberjs hacktoberfest nodejs
Last synced: 10 months ago
JSON representation
Thin backend for ember-help-wanted
- Host: GitHub
- URL: https://github.com/ember-learn/ember-help-wanted-server
- Owner: ember-learn
- Created: 2018-10-02T08:50:43.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-10-03T07:22:24.000Z (over 2 years ago)
- Last Synced: 2025-04-23T21:38:57.158Z (about 1 year ago)
- Topics: ember, emberjs, hacktoberfest, nodejs
- Language: JavaScript
- Homepage:
- Size: 1.56 MB
- Stars: 4
- Watchers: 10
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/ember-learn/ember-help-wanted-server/actions?query=workflow%3ACI)
ember-help-wanted-server
==============================================================================
This is a thin backend for [ember-help-wanted](https://github.com/ember-learn/ember-help-wanted). It searches for open GitHub issues in [Ember.js](https://emberjs.com/).
How to run
------------------------------------------------------------------------------
1. You will need to [create a GitHub token](https://github.com/settings/tokens/new). You can leave all checkboxes under "Select scopes" empty. We will be reading public data only.
1. Copy `.env.example` as `.env`. Then, edit `.env` by adding your GitHub token to `GITHUB_API_TOKEN`.
1. Run `npm start`.
```bash
npm start
$ node src/index.js
fetching all issues
listening on port 3000!
fetching all repos
```
1. To check if the server app's working, visit [http://localhost:3000/github-issues?group=core](http://localhost:3000/github-issues?group=core). You will see an array of POJOs (GitHub issues). If you see an empty array, try refreshing the page.
Continuous integration
------------------------------------------------------------------------------
We use [GitHub Actions](.github/workflows/ci.yml) to lint and test the app when a PR (pull request) is created and merged.
Run the following commands to lint and test from local machine:
```bash
npm run lint
npm test
```
To fix linting errors, try the following command:
```bash
npm run lint:fix
```
Compatibility
------------------------------------------------------------------------------
- Node.js v18.9 or above