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 IDandClient Secret - Rename
.env.exampleto.envand 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 devto run local next.js serveryarn testto run testsyarn formatto format source codeyarn lintto lint source codeyarn validateto runyarn lintandyarn testtogether, used forpre-pushgit 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