Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

hananiel/start.steeltoe.io

Repository files navigation

Steeltoe Initializr

image

Steeltoe Initializr provides an extensible API to generate quickstart projects. It provides a simple web UI to configure the project to generate and endpoints that you can use via plain HTTP.

Steeltoe Initializr also exposes an endpoint that serves its metadata in a well-known format to allow third-party clients to provide the necessary assistance.

How to use

You can see a demo of app running on Pivotal Web Services.

The Web UI allows you to quickly generate a CSharp project with your choice of dependencies

image

In addition you can simply use curl like so:

curl https://startsteeltoe.cfapps.io/starter.zip -d dependencies=actuators,cloudfoundry -o myProject.zip

or

curl https://startsteeltoe.cfapps.io/starter.zip -d dependencies=actuators,cloudfoundry -d templateShortName=react -d projectName=MyCompany.MySample -o myProject.zip

To get a list of dependencies:

curl https://startsteeltoe.cfapps.io/dependencies

To get a list of valid templates:

curl https://startsteeeltoe.cfapps.io/api/templates/all

Developing

Clone and cd into repo and :

    dotnet test 
    cd src 
    dotnet run