This repository provides a full-stack application that you can start by executing a single command. The application can detect errors and automatically create an issue in GitHub.
- Docker installed
- GitHub account
- Next.js
- Docker
- Prisma
- GitHub Actions
- Clone this repository
- Set up
.env- Create a
.envfile under/src. - Fill in the required items:
If you want to test this app in your personal repository, set
GITHUB_OWNERto your GitHub username, andGITHUB_REPOto the name of the cloned repository.
- Create a
- Create a
GitHub Tokenand store it inRepository secretswith the keyMY_GITHUB_TOKEN. You can use the preconfigured settings for Postgres and the sample user. Start the Docker container by runningdocker compose upin the terminal.
- Once the application is running, go to
/create, write a new draft, and then clickCreate. It causes an error because the code is intentionally written to trigger one. - Check
Issuetab in your Github repository. A new Issue should be opend.