This is a project that displays the commit history of a public GitHub repository. It allows you to fetch and display commits in a table.
Ensure you have the following versions of the tools installed on your system:
- Node.js 18
- Angular 16
- Nest 10
-
Clone this repository from GitHub:
git clone https://github.com/kiranitor123/git-commit-v2.git
-
Install the initial dependencies from the project's root directory:
npm install
-
Install dependencies for both the frontend and backend:
npm run install
-
Run the project from the project's root directory without entering any specific folder:
npm run start:dev
To run unit tests, use the following command from the project's root directory:
npm run start:dev
If you want to run tests individually for the frontend and backend, you can do so from their respective folders:
cd client
npm install //install dependencies
ng serve //init the app
ng test //run tests
cd server
npm install //install dependencies
npm run start:dev //init the server
npm run test //run tests
Upon starting the frontend, default values will be loaded automatically. If you have another public repository, you can make changes, and this project will retrieve the commits made.
This project is licensed under the MIT License.
