Steeltoe Initializr - .NET Microservices Templates
Перейти к файлу
Chris Cheetham d729592142 Doc updates 2020-08-17 18:01:45 -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 Doc updates 2020-08-17 18:01:45 -04:00
test Disbale SQL Server for other that ST24/DN21 2020-08-17 17:31:53 -04:00
.editorconfig Add support for EditorConfig 2020-01-24 13:45:18 -05:00
.gitignore Ignore Rider state 2020-04-21 11:31:51 -04:00
CREATING-INITIALIZR_DEPENDENCY.md Create dep doc (#101) 2020-04-23 17:34:08 -04:00
Dockerfile npm cleanup 2019-06-20 16:59:58 -04:00
README.md Doc updates 2020-08-17 18:01:45 -04:00
Steeltoe.Initializr.sln 62 separate template engine (#69) 2020-02-05 21:33:02 -05:00
Steeltoe.Initializr.sln.DotSettings Make mustache config self contained 2019-07-17 19:07:41 -04:00
THIRD-PARTY-CONTRIBUTIONS.md Updatedotnetversion (#94) 2020-04-21 10:50:00 -04:00
azure-pipelines.yml 62 separate template engine (#69) 2020-02-05 21:33:02 -05:00
global.json Dump DotNet SDK version to 3.1.302 2020-08-14 10:31:38 -04:00
nuget.config myget 2019-06-19 18:17:14 -04:00
shared.props 62 separate template engine (#69) 2020-02-05 21:33:02 -05:00
stylecop.json rename project, sln 2019-06-07 10:00:29 -04:00

README.md

Steeltoe Initializr

Branch Build Status
master image
dev image

Overview

Steeltoe Initializr start.steeltoe.io 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

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

image

Curl

To get help:

curl https://start.steeltoe.io/

          (
          )\ )    )           (     )
         (()/( ( /(   (    (  )\ ( /(        (
          /(_)))\()) ))\  ))\((_))\()) (    ))\
  ____   (_)) (_))/ /((_)/((_)_ (_))/  )\  /((_)__ __ __
 / /\ \  / __|| |_ (_)) (_)) | || |_  ((_)(_))  \ \\ \\ \
< <  > > \__ \|  _|/ -_)/ -_)| ||  _|/ _ \/ -_)  > >> >> >
 \_\/_/  |___/ \__|\___|\___||_| \__|\___/\___| /_//_//_/

Dependencies:
+----------------------------------------+----------------------------------------------------------------------------------------------------+
+ Title                                  + Description                                                                                        +
+----------------------------------------+----------------------------------------------------------------------------------------------------+
+ Actuators                              + Add management endpoints for your application                                                      +
+ Circuit Breakers                       + Add Circuit Breakers                                                                               +
+ Cloud Foundry                          + Target CloudFoundry Hosting                                                                        +
+ Discovery                              + Add Discovery Client                                                                               +
+ DynamicLogger                          + Add Dynamic Logger                                                                                 +
...

To generate projects:

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

To get a list of dependencies:

curl https://start.steeltoe.io/api/templates/dependencies

Build and Run

Clone and cd into repo and :

dotnet build                                          # build
dotnet test --filter "Category!=Integration"           # unit test suite
dotnet test --filter "Category=Integration"            # integration test suite
dotnet run --project src/Steeltoe.Initializr.WebApp   # run

Add a Library

Would you like have a library added to start.steeltoe.io? Please read and follow the third party library contribution guidelines. If the project fulfills the requirements, please create a new issue on this project and our team will help get you started.