Ever found yourself managing multiple projects spread across your computer and writing multiple git commands on the terminal when all you want is to push your code on Github? As a software engineer and graduate student, I'm always working on projects and I often place these projects in the first directory I find. This leads to a decrease in productivity searching within your file system for your projects. While this can be mitigated by trying to be more organized but then we're hit with another drag- writing git commands. For instance, to push changes you'd need to type the following commands:
git add .
git commit -m "commit msg"
git push origin
As a result, I developed a file/git manager that streamlines this process for you. This is a web application that:
- Organizes all your projects in one directory
- Makes interacting with Git as simple as clicking a button
To demo the application, please follow the steps below:
- Clone the repository in your local machine:
git clone https://github.com/farhan0167/git-manager-java
- There are two directories, my-app and file-manager.
- You want to install npm serve, this will let you serve the static build of my React application
Note: Make sure you have node installed in your machine.
npm install --global serve
- The application backend, aka file-manager, runs on Java so make sure to have installed Java SDK.
- Once done, cd in to the cloned repository, and run the following command:
This will start both the React application and the Java Spring Boot server.
python3 startup-script.py
- Head over to
http:localhost:3006
to check out the application.
This project is a Java conversion of the Github Manager that I pushed here. The purpose to write this in Java was to get hands on with Spring, and make the application more portable.
All the code for the application can be found here.