Serverless App to manage GitHub repos' topics
- Register a new OAuth application
- Fill anything in all the fields
- But set callback url as
http://localhost:3000/auth/github/callback
- Hit "Register application"
- Copy
Client ID
andClient Secret
- Rename
.env.example
to.env
and update it with your secrets accordingly. See dotenv usage example for reference.
git clone git@github.com:iamstarkov/topics-manager.git
cd topics-manager
yarn
yarn dev
to run local next.js serveryarn test
to run testsyarn format
to format source codeyarn lint
to lint source codeyarn validate
to runyarn lint
andyarn test
together, used forpre-push
git hook
- Babel for transpiling
- Jest for tests
- Prettier for stylistic formatting
- Eslint for non-stylistic linting
- Lint-staged for formatting and linting and staged files
- Husky for consistent git hooks
- next.js—framework for isomorphic react apps
- react—framework for predictable UIs
- redux—state management library
- styled-components—styling library
- Renovate to update to new dependencies' versions for performance/security reasons
- Travis CI to validate every pull-request
- Now Cloud to automatically deploy every pull-request in its own staging environment and commits to master to production
MIT © Vladimir Starkov