Microsoft Web Template Studio quickly builds web applications using a wizard-based UI to turn your needs into a foundation of best patterns and practices
Перейти к файлу
sibille 5bb47cb5d6
Merge branch 'dev' into fix_updatereactscripts
2021-01-11 15:51:33 +01:00
.github Update CODEOWNERS 2020-09-18 07:52:40 +02:00
_build change casing 2020-12-15 11:37:32 +01:00
dist dandua98/cosmos docs (#135) 2019-03-18 18:16:04 -07:00
docs Add third party libraries docs 2020-12-03 18:29:12 +01:00
src Merge branch 'dev' into fix_updatereactscripts 2021-01-11 11:24:13 +01:00
templates Adapt flask cosmos code to deploy in azure app service 2020-12-23 14:05:51 +01:00
.gitignore Change description and add launchSettings.json 2020-09-25 15:37:31 +02:00
.gitmodules Update submodule to point to release branch 2020-06-17 10:47:00 +02:00
CONTRIBUTING.md tiny changes 2020-11-06 12:56:48 +01:00
LICENSE Initial commit 2019-01-29 15:08:44 -08:00
README.md Update README.md 2020-11-19 06:44:26 +01:00
sha256-release.md Update sha256-release.md 2020-11-18 13:39:02 +01:00

README.md

Microsoft Web Template Studio

Platforms Supported: MacOSX, Linux, Windows Project Status: Active – The project has reached a stable, usable state and is being actively developed. License: We are using the MIT License We are welcoming PRS!

Microsoft Web Template Studio (aka WebTS) is a Visual Studio Code Extension that accelerates the creation of new web applications using a wizard-based experience. WebTS enables developers to generate boilerplate code for a web application by choosing between different frontend frameworks, backend frameworks, pages and cloud services. The resulting web app is well-formed, readable code that incorporates cloud services on Azure while implementing proven patterns and best practices. Sprinkled throughout the generated code we have links to Docs to provide useful insights. WebTS was created using TypeScript and React. Different combinations of generated code are merged together by Core Template Studio, which was made using .NET Core.

Build Status

Branch Build Status
dev Build Status
release Build Status

Documentation

Web Template Studio (WebTS) documentation is divided into three areas.

General

Everyone should read these.

Using WebTS to build apps

These will help if using WebTS to build apps.

Working on WebTS

These will help if you want to know more about WebTS or contribute to the project.

SHA256

Visual Studio Code extensions are currently not signed. WebTS provides the Secure Hash Algorithm (SHA) of each version we publish. You can find the current extensions sha256 value in the following files:

To verify the integrity of the package, download the vsix from the Marketplace, calculate the hash of the package using the powershell command Get-FileHash or any other tool that allows you to calculate the packages hash, and compare both.

Instructions To Use

Create a new project

  • Open VSCode
  • Press Ctrl + Shift ⇧ + P in Windows/Linux or Command ⌘ + Shift ⇧ + P in Mac to open VSCode's extension launcher
  • Type/Select Web Template Studio: Launch and press Enter to launch the extension

Deploy the generated project

  • Open VSCode
  • Open the generated project
  • Press Ctrl + Shift ⇧ + P in Windows/Linux or Command ⌘ + Shift ⇧ + P in Mac to open VSCode's extension launcher
  • Type/Select Web Template Studio: Deploy App and press Enter to begin the deployment

Example Scenario

I need a full-stack web app that is deployed on Azure App Service Web App.

App with Azure Services

Features

Web Template Studio approaches full-stack web app creation using the following three attribute sets:

  • Frameworks: First, which frameworks do you want to use for your frontend and backend? We currently support three frameworks for frontend: React, Angular, Vue.js and four frameworks for backend: Node, Flask, Moleculer and ASP.NET Core. We also provide a dependency checker to make sure you have the required version of Node, Python and/or .NET Core installed.
  • App pages: Next, to accelerate app creation, we provide a number of app page templates that you can use to add common UI pages into your new app. The current page templates include: blank page, common layouts (*e.g., master detail) and pages that implement common patterns (*e.g., grid, list). Using the wizard, add as many of the pages as you need, providing a name for each one, and we'll generate them for you.
  • Cloud Services: Lastly, you specify which Azure cloud services you want to use, and we'll build out the framework for the services into your app. Currently supported services cover storage (Azure Cosmos DB), and hosting (Azure App Service).

Once you make the selections you want and click generate, you can quickly extend the generated code.

Feedback, Requests and Roadmap

Please use GitHub issues for feedback, questions or comments.

If you have specific feature requests or would like to vote on what others are recommending, please go to the GitHub issues section as well. We would love to see what you are thinking.

We are still extremely early in development and are looking for feedback for roadmap. Currently we are in the process of stabilizing our React, Angular and Vue.js with Node and Flask.

Contributing

Do you want to contribute? We would love to have you help out. Here are our contribution guidelines.

Reporting Security Issues

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

License

This code is distributed under the terms and conditions of the MIT license.

Privacy Statement

The extension does log basic telemetry for what is being selected. We are in the process of creating a Telemetry Data page to summarize usage trends. Please read the Microsoft privacy statement for more information.

Frameworks in Generated Code Not Created by Our Team

Acknowledgments

Microsoft Web Template Studio was initially created by Microsoft Garage interns. We hope many more continue with the project.