Coding exercise - Fleet Studio
The project is build up on the following tech stack
Frontend: HTML, CSS, Typescript, Angular, Angular-material, Bootstrap
Backend: Java, Springboot, Maven
To run the app, follow the below instruction
- Need java 11
- Import project to Intellij (recommended)
- Right click on project and choose maven -> reload (download dependency)
- Check java indexing is done
- Run the project from the main method, or from menu bar choose run menu and choose run
- A swagger page has been configured, once backend is up, hit this url in browser to open the swagger page.
http://localhost:8741/swagger-ui.html
- Need node js version 14+
- Go into the frontend project, and check whether you are into angular project.
git-commit-reader\Frontend\git-commit-reader-frontend - Install the dependency by running this command "npm i"
- To run the app enter this command in terminal "npm start"
- To view the app go the this url http://localhost:1234/
Using this app user can feed owner, repo name and commit hash code and get the commit details.
This is done for testing purpose.
On the first page, user have to fill the form by giving owner name, repo name, commit hash of any
public github repository.
On clicking Search button, it will show the commit diff and other details regarding the commit.