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. 6 months ago
.vscode πŸŽ‰ Initial Commit 7 months ago
Postman Files βœ… Updated postman files. 7 months ago
src πŸ“„ Update copyright. 6 months ago
.gitignore πŸŽ‰ Initial Commit 7 months ago
LICENSE πŸŽ‰ Initial Commit 7 months ago
README.md πŸ“ Added some documentation 7 months ago
package-lock.json πŸŽ‰ Initial Commit 7 months ago
package.json πŸ”§ Cleaning up dependencies and package.json file. 7 months ago
tsconfig.json πŸŽ‰ Initial Commit 7 months ago
tslint.json πŸŽ‰ Initial Commit 7 months 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.