A sample local Git web interface. Based on homework for 15th Yandex Interface Development School (2019, autumn).
Created with create-next-app.
- listing local repos and switching between them
- file structure explorer to browse all files and folders within the repo
- file viewer to show file content and file size
- last commit info for selected file or folder
- listing local branches (both for the entire repo and for its files and subfolders) and switching between them
- Install yarn if needed.
git clone https://github.com/wwwildcat/shri-arcanum.git- Create a file called
.envon the root of the project and add theBASE_PATHvariable:
BASE_PATH='path'
where path is your absolute path to local directory that contains Git repositories, example: /home/user/repos.
yarn installyarn dev- URL: http://localhost:3000
yarn test
Using Jest, react-testing-library, jest-dom with redux-mock-store, node-mocks-http and jest-fetch-mock.












