This project features a simple git server and API built around it that allows users to create, push, pull and read information about the repo.
- Install dependecies
yarn - Start server
yarn start(or alternatively start in devmode withyarn dev)
Git repos are accessed via http on /:user/:repo.git
POST /api/:user/:repo- create a new repo for the userGET /api/:user- list the user's reposGET /api/:user/:repo- list commits on the repoGET /api/:user/:repo/:path- list files at path
GET /raw/:user/:repo/:commit/:path- View/download the file contents
MIT