Skip to content

🚧 a repo that helps to make trees for your github repositories

License

Notifications You must be signed in to change notification settings

noirrs/getStructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🚧 Get Structure

πŸŒ€ Get Structure is an API that helps to get hierarchy (structure) of an github repository like tree command in bash

⚑Quick API Docs

Example Request:

POST 
getstructure.noir.land

{
 body: {
	 username: "Noirrs",
	 repository: "getStructure",
	 branch: "master"
	}
}

* API endpoint: getstructure.noir.land

* username: Repository Author's github nickname
* repository: Github Repository's name
* branch: Github Repository's main branch [generally => master / main] 

* method: POST

Example Response:

* Response Type: String | Error<typless>

β”œβ”€ src
β”‚  β”œβ”€ main.ts
β”‚  β”œβ”€ app.service.ts
β”‚  β”œβ”€ app.module.ts
β”‚  β”œβ”€ app.controller.ts
β”‚  β”œβ”€ functions
β”‚  β”‚  β”œβ”€ separateRoots.ts
β”‚  β”‚  β”œβ”€ separatePaths.ts
β”‚  β”‚  β”œβ”€ separateFiles.ts
β”‚  β”‚  β”œβ”€ mergeSeparateds.ts
β”‚  β”‚  β”œβ”€ makeTree.ts
β”‚  β”‚  β”œβ”€ main.ts
β”‚  β”‚  β”œβ”€ getRepository.ts
β”‚  β”‚  └─ getFileNames.ts
β”‚  └─ types
β”‚     └─ types.d.ts
β”œβ”€ .gitignore
β”œβ”€ README.md
β”œβ”€ nest-cli.json
β”œβ”€ package-lock.json
β”œβ”€ package.json
β”œβ”€ tsconfig.build.json
β”œβ”€ tsconfig.json
└─ vercel.json

✍️ Source Code

Resources

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Deploy on Vercel

Deploy with Vercel

πŸ“± Contact