VS Code Try App Service Express Template
Перейти к файлу
Faiz Shaikh 7ae34801be use secure TAS API and loginsession cookie (#26)
* Use secure TAS API

* use secure TAS API

* Use secure TAS APIs

* Use secure TAS API

* Use secure TAS API
2019-01-22 10:05:36 -08:00
.vscode Fix count down timer in sites (#24) 2018-11-19 10:43:27 -08:00
public use secure TAS API and loginsession cookie (#26) 2019-01-22 10:05:36 -08:00
.gitignore init commit 2018-10-03 14:48:51 -07:00
LICENSE.md init commit 2018-10-03 14:48:51 -07:00
README.md init commit 2018-10-03 14:48:51 -07:00
package-lock.json use secure TAS API and loginsession cookie (#26) 2019-01-22 10:05:36 -08:00
package.json init commit 2018-10-03 14:48:51 -07:00
process.json init commit 2018-10-03 14:48:51 -07:00
server.js use secure TAS API and loginsession cookie (#26) 2019-01-22 10:05:36 -08:00
template.html use secure TAS API and loginsession cookie (#26) 2019-01-22 10:05:36 -08:00
util.js use secure TAS API and loginsession cookie (#26) 2019-01-22 10:05:36 -08:00

README.md

Getting Started

This is a very simple Node application that uses the Express framework. It is designed to work well with Visual Studio Code and to be easily deployed to Azure App Service, Azure's fully-managed Platform as a Service (PaaS) that let's you deploy and scale web, mobile, and API apps.

Running the Application

After cloning the repository, install the necessary dependencies and then run the application:

npm install
npm start

By default, the server listens on port 3000, so point your favorite browser to http://localhost:3000.

In VS Code, simply press F5 to launch the application in debug mode. Set a breakpoint and refresh the page to hit the breakpoint. From there, inspect variables, set watches, browse the call stack, and more. You can find more information about building and debugging Node applications, please see the VS Code documentation.

Deploy to the Cloud

When you first open this folder in VS Code, you'll be prompted to install the Azure App Service extension.

The App Service extension lets you quickly quickly create sites, deploy them, view logs, and even set environment variables (such as a Connection String), right from within VS Code. For more information, see the App Service Walkthrough.

Additional Documentation

More information on building and deploying Node applications to Azure can be found on the Node Developer Center.

Contributing

This sample's code is hosted on GitHub: https://github.com/microsoft/vscode-tas-express.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

MIT