This is a thin backend for ember-help-wanted. It searches for open GitHub issues in Ember.js.
-
You will need to create a GitHub token. You can leave all checkboxes under "Select scopes" empty. We will be reading public data only.
-
Copy
.env.example
as.env
. Then, edit.env
by adding your GitHub token toGITHUB_API_TOKEN
. -
Run
npm start
.npm start $ node src/index.js fetching all issues listening on port 3000! fetching all repos
-
To check if the server app's working, visit 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.
We use GitHub Actions 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:
npm run lint
npm test
To fix linting errors, try the following command:
npm run lint:fix
- Node.js v18.9 or above