Skip to content

shagunakarsh/git-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Building a simple Git Server using Spring Boot & Jgit library

Steps to use:

Update properties in

src/resources/git-server.properties

Compile using:

mvn clean compile package

Run using:

java -jar target/git-server-*.jar

By default git-server is hosted on port 8080, web api for viewing files is hosted on port 8090

Api Documentation (Swagger-UI):

http://localhost:8090/swagger-ui.html

Clone Repo:

Once application starts, you can clone the default repo created with a default README.md file using your repo name.

git clone http://localhost:8080/repoName

Functionality:

  1. Host a git repo on your (local)server
  2. Capability to view repo over http
  3. Create, Clone, Push changes to the repo

TODOs:

  1. Git Push without credentials
  2. Support Multiple repositories
  3. Simple UI for viewing repository files

About

Simple git-server to host code on own server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published