API for parsing responses from GitHub and GitLab for the Kosmos Builder script.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Nichole Mattera 946a073520 📄 Update copyright. 4 years ago
.vscode 🎉 Initial Commit 4 years ago
Postman Files Updated postman files. 4 years ago
src 📄 Update copyright. 4 years ago
.gitignore 🎉 Initial Commit 4 years ago
LICENSE 🎉 Initial Commit 4 years ago
README.md 📝 Added some documentation 4 years ago
package-lock.json 🎉 Initial Commit 4 years ago
package.json 🔧 Cleaning up dependencies and package.json file. 4 years ago
tsconfig.json 🎉 Initial Commit 4 years ago
tslint.json 🎉 Initial Commit 4 years ago

README.md

Kosmos Builder Server

This is a simple API for the Kosmos Builder script to call to get the package information from GitHub and GitLab. All requests will cached for 1 hour to prevent spamming calls to either services. It also supports providing credentials to GitHub to increase the number of calls you can make.

How to Run

Because this project is written in TypeScript the API needs to be built before running. If you just want to run it locally you can simple run:

npm run start

If you are looking to run this in a production environment then you can run the following command to build it:

npm run build

Once it's built the file you will want to run the index.js file in the dist folder.