- Create a copy from .env.example and rename to .env
- Open .env file and add GITHUB_TOKEN value, can ask me for token value here or is included in the mail when sending the link of this repository.
$ cd github-repo-back
$ npm i
$ npm run build
$ cd ../github-repo-front
$ npm i
$ npm run build
$ cd ../
$ docker-compose up --build -d
Open this URL from browser: http://localhost:4000/
$ cd github-repo-back
$ npm i
$ npm run start:dev
# From another terminal
$ cd github-repo-front
$ npm i
$ npm run dev
Open this URL from browser: http://localhost:5173/
- GET /api/docs - Swagger OpenApi UI
- GET /api/github/user - Get user information
- GET /api/github/repo - Get repository information
- GET /api/github/repo/branches - Get a list of branches
- GET /api/github/repo/commits?branch=${branch} - Get a list of all commits by branch name