Steeltoe Initializr - .NET Microservices Templates
Перейти к файлу
Hananiel Sarella baee271620 Improve integration tests; fix combinations in templates 2019-10-16 23:50:51 -04:00
.github/ISSUE_TEMPLATE Update issue templates 2019-09-13 11:26:18 -04:00
SteeltoeVsix VS Extension, Configuration Sources (#32) 2019-09-11 11:42:34 -04:00
packages remove cli dependency 2019-06-20 13:24:19 -04:00
src Improve integration tests; fix combinations in templates 2019-10-16 23:50:51 -04:00
templates Improve integration tests; fix combinations in templates 2019-10-16 23:50:51 -04:00
tests Improve integration tests; fix combinations in templates 2019-10-16 23:50:51 -04:00
.gitignore netcoreapp 3.0 2019-07-30 11:42:54 -04:00
Dockerfile npm cleanup 2019-06-20 16:59:58 -04:00
README.md Update README.md 2019-10-06 20:11:52 -04:00
Steeltoe.Initializr.sln Circuit Breakers 2019-09-27 17:05:36 -04:00
Steeltoe.Initializr.sln.DotSettings Make mustache config self contained 2019-07-17 19:07:41 -04:00
Steeltoe.Initializr.sln.DotSettings.user Add integration tests 2019-08-21 22:38:04 -04:00
azure-pipelines.yml Improve integration tests; fix combinations in templates 2019-10-16 23:50:51 -04:00
global.json update global.json 2019-09-27 18:20:28 -04:00
nuget.config myget 2019-06-19 18:17:14 -04:00
shared.props Add react-ga; clean up 2019-06-18 21:56:02 -04:00
stylecop.json rename project, sln 2019-06-07 10:00:29 -04:00

README.md

Steeltoe Initializr

Master: image Dev: 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

Web

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

Curl

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://start.steeltoe.io/api/templates/dependencies

To get a list of valid templates:

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

Dotnet templates

Install the Steeloe Templates

dotnet new -i steeltoe.templates::2.2.1 --nuget-source https://www.myget.org/F/steeltoedev/api/v3/index.json

Generate project

dotnet new Steeltoe-WebApi --Actuators --CloudFoundry

Developing

Clone and cd into repo and :

    dotnet test 
    cd src 
    dotnet run